summaryrefslogtreecommitdiffstats
path: root/bzip2/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
commit656378eb13dd8c1af44a368e7dfee3333eb055a2 (patch)
tree9707d7a6d1af19d5c1d8431821232ae81ce42d85 /bzip2/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8d576551b5c270c65fe06443b7295d73cc662064 (diff)
downloadnutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.gz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.bz2
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.xz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-pakxe
Diffstat (limited to 'bzip2/Pkgfile')
-rwxr-xr-xbzip2/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile
new file mode 100755
index 000000000..a447e8203
--- /dev/null
+++ b/bzip2/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Programmes pour compresser et décompresser des fichiers
+# URL: http://www.bzip.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=bzip2
+version=1.0.6
+release=1
+source=( http://www.bzip.org/$version/$name-$version.tar.gz)
+
+build() {
+cd $name-$version
+sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
+make -f Makefile-libbz2_so
+make clean
+make
+make PREFIX=$PKG/usr install
+mkdir $PKG/{bin,lib}
+rm -rf $PKG/usr/share/doc
+mv $PKG/usr/man $PKG/usr/share/
+rm $PKG/usr/bin/{bzegrep,bzfgrep,bzcmp,bzless}
+ln -sv bzgrep $PKG/usr/bin/bzegrep
+ln -sv bzgrep $PKG/usr/bin/bzfgrep
+ln -sv bzdiff $PKG/usr/bin/bzcmp
+ln -sv bzmore $PKG/usr/bin/bzless
+cp -v bzip2-shared $PKG/bin/bzip2
+cp -av libbz2.so* $PKG/lib/
+ln -sv ../../lib/libbz2.so.1.0 $PKG/usr/lib/libbz2.so
+rm $PKG/usr/bin/{bunzip2,bzcat,bzip2}
+ln -sv bzip2 $PKG/bin/bunzip2
+ln -sv bzip2 $PKG/bin/bzcat
+}