From 9291e062cb24bac5d7c7059d4dc64669c1917b33 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:12:28 +0100 Subject: aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bzip2/Pkgfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 bzip2/Pkgfile (limited to 'bzip2/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2