Page MenuHomeSolus

No OneTemporary

diff --git a/files/0001-Ensure-we-link-correctly.patch b/files/0001-Ensure-we-link-correctly.patch
new file mode 100644
index 0000000..f42fe18
--- /dev/null
+++ b/files/0001-Ensure-we-link-correctly.patch
@@ -0,0 +1,26 @@
+From bb9ed3c1fce8d64bdaac1ef2dbafbbeca8260134 Mon Sep 17 00:00:00 2001
+From: Ikey Doherty <ikey@solus-project.com>
+Date: Fri, 21 Aug 2015 10:10:07 +0100
+Subject: [PATCH] Ensure we link correctly
+
+Signed-off-by: Ikey Doherty <ikey@solus-project.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 6524ef3..1bf8d7f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5,7 +5,7 @@ ZOPFLI=zopfli/src/zopfli/
+ # use gcc and gmake on Solaris
+
+ pigz: pigz.o yarn.o try.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o
+- $(CC) $(LDFLAGS) -o pigz $^ -lpthread -lm
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigz $^ -lpthread -lm -lz
+ ln -f pigz unpigz
+
+ pigz.o: pigz.c yarn.h try.h ${ZOPFLI}deflate.h ${ZOPFLI}util.h
+--
+2.5.0
+
diff --git a/package.yml b/package.yml
new file mode 100644
index 0000000..6503175
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,16 @@
+name : pigz
+version : 2.3.3
+release : 1
+source :
+ - http://zlib.net/pigz/pigz-2.3.3.tar.gz : 4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c
+license : Apache-2.0
+summary : Parallel gzip
+description: |
+ pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.
+setup : |
+ %patch -p1 < $pkgfiles/0001-Ensure-we-link-correctly.patch
+build : |
+ %make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+install : |
+ install -D -m 00755 pigz $installdir/usr/bin/pigz
+ install -D -m 00755 unpigz $installdir/usr/bin/unpigz
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
index 0000000..fa0b463
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,33 @@
+<PISI>
+ <Source>
+ <Name>pigz</Name>
+ <Packager>
+ <Name>Ikey Doherty</Name>
+ <Email>ikey@solus-project.com</Email>
+ </Packager>
+ <License>Apache-2.0</License>
+ <Summary xml:lang="en">Parallel gzip</Summary>
+ <Description xml:lang="en">pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>pigz</Name>
+ <Summary xml:lang="en">Parallel gzip</Summary>
+ <Description xml:lang="en">pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.
+</Description>
+ <PartOf>system.utils</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2015-08-21</Date>
+ <Version>2.3.3</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Ikey Doherty</Name>
+ <Email>ikey@solus-project.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Thu, Aug 10, 12:12 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5894601
Default Alt Text
(3 KB)

Event Timeline