summaryrefslogtreecommitdiff
path: root/manualPorts/pigz
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/pigz
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/pigz')
-rw-r--r--manualPorts/pigz/.footprint8
-rw-r--r--manualPorts/pigz/.md5sum1
-rw-r--r--manualPorts/pigz/.signature5
-rw-r--r--manualPorts/pigz/Pkgfile23
-rwxr-xr-xmanualPorts/pigz/lastVersion.sh8
5 files changed, 45 insertions, 0 deletions
diff --git a/manualPorts/pigz/.footprint b/manualPorts/pigz/.footprint
new file mode 100644
index 0000000..449b7c3
--- /dev/null
+++ b/manualPorts/pigz/.footprint
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/pigz
+-rwxr-xr-x root/root bin/unpigz
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/pigz.1.gz
diff --git a/manualPorts/pigz/.md5sum b/manualPorts/pigz/.md5sum
new file mode 100644
index 0000000..d64e84a
--- /dev/null
+++ b/manualPorts/pigz/.md5sum
@@ -0,0 +1 @@
+def2f6e19d9d8231445adc1349d346df pigz-2.4.tar.gz
diff --git a/manualPorts/pigz/.signature b/manualPorts/pigz/.signature
new file mode 100644
index 0000000..8e445b0
--- /dev/null
+++ b/manualPorts/pigz/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGizFqEoGq+gSR4JhCVvw9mfEkOBCRa0rA27zzEQCwmOkGKTeCjvzGC+OuwdcwVAYrdyIBBtMzi/x9ylGyn42pgE=
+SHA256 (Pkgfile) = 71ee12f05deb9a26c5c7b49965aace6803deb45feccaec1fff89fba65f6e7a74
+SHA256 (.footprint) = 581925bc8b3aa5c1e38052581da973bbdd26574f43a1ffb56f4dca6b4d1fdcaf
+SHA256 (pigz-2.4.tar.gz) = a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73
diff --git a/manualPorts/pigz/Pkgfile b/manualPorts/pigz/Pkgfile
new file mode 100644
index 0000000..a2f0e46
--- /dev/null
+++ b/manualPorts/pigz/Pkgfile
@@ -0,0 +1,23 @@
+# Description: A parallel implementation of gzip and gunzip
+# URL: http://zlib.net/pigz
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on:
+
+name=pigz
+version=2.4
+release=1
+source=(http://zlib.net/$name/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ make
+ gzip pigz.1
+
+ install -d $PKG/usr/share/man/man1
+ install -m644 pigz.1.gz $PKG/usr/share/man/man1/
+ install -d $PKG/bin
+ install pigz $PKG/bin/
+ ln $PKG/bin/pigz $PKG/bin/unpigz
+}
+
diff --git a/manualPorts/pigz/lastVersion.sh b/manualPorts/pigz/lastVersion.sh
new file mode 100755
index 0000000..be3583a
--- /dev/null
+++ b/manualPorts/pigz/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+curl "http://zlib.net/pigz/" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep "^pigz-.*\.tar\.gz\$" | \
+ sed "s/^pigz-\(.*\)\.tar\.gz\$/\1/" | \
+ sort -V | \
+ tail -n1