summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:44:13 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:44:13 +0200
commit33455a718762dfd898a9faf373ecd7ccfbff89dc (patch)
tree6869e07122945d8d2a1881382e3989e0d96b0fdc /base
parente4b4228cff31dc88201d1b6e83eff8aed6c77525 (diff)
downloadnutyx-extra-33455a718762dfd898a9faf373ecd7ccfbff89dc.tar.gz
nutyx-extra-33455a718762dfd898a9faf373ecd7ccfbff89dc.tar.bz2
nutyx-extra-33455a718762dfd898a9faf373ecd7ccfbff89dc.tar.xz
nutyx-extra-33455a718762dfd898a9faf373ecd7ccfbff89dc.zip
Ajout de bzip2#1.0.5-1
Diffstat (limited to 'base')
-rw-r--r--base/bzip2/.footprint33
-rw-r--r--base/bzip2/.md5sum2
-rwxr-xr-xbase/bzip2/Pkgfile35
3 files changed, 70 insertions, 0 deletions
diff --git a/base/bzip2/.footprint b/base/bzip2/.footprint
new file mode 100644
index 000000000..6d5b048e7
--- /dev/null
+++ b/base/bzip2/.footprint
@@ -0,0 +1,33 @@
+drwxr-xr-x root/root bin/
+lrwxrwxrwx root/root bin/bunzip2 -> bzip2
+lrwxrwxrwx root/root bin/bzcat -> bzip2
+-rwxr-xr-x root/root bin/bzip2
+drwxr-xr-x root/root lib/
+lrwxrwxrwx root/root lib/libbz2.so.1.0 -> libbz2.so.1.0.4
+-rwxr-xr-x root/root lib/libbz2.so.1.0.4
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/bzcmp -> bzdiff
+-rwxr-xr-x root/root usr/bin/bzdiff
+lrwxrwxrwx root/root usr/bin/bzegrep -> bzgrep
+lrwxrwxrwx root/root usr/bin/bzfgrep -> bzgrep
+-rwxr-xr-x root/root usr/bin/bzgrep
+-rwxr-xr-x root/root usr/bin/bzip2recover
+lrwxrwxrwx root/root usr/bin/bzless -> bzmore
+-rwxr-xr-x root/root usr/bin/bzmore
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/bzlib.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libbz2.a
+lrwxrwxrwx root/root usr/lib/libbz2.so -> ../../lib/libbz2.so.1.0
+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/bzcmp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzdiff.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzegrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzfgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzip2.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzless.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bzmore.1.gz
diff --git a/base/bzip2/.md5sum b/base/bzip2/.md5sum
new file mode 100644
index 000000000..42c3d4ba5
--- /dev/null
+++ b/base/bzip2/.md5sum
@@ -0,0 +1,2 @@
+6a5ac7e89b791aae556de0f745916f7f bzip2-1.0.5-install_docs-1.patch
+3c15a0c8d1d3ee1c46a1634d00617b1a bzip2-1.0.5.tar.gz
diff --git a/base/bzip2/Pkgfile b/base/bzip2/Pkgfile
new file mode 100755
index 000000000..480129cf9
--- /dev/null
+++ b/base/bzip2/Pkgfile
@@ -0,0 +1,35 @@
+# 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.5
+release=1
+source=( http://www.bzip.org/$version/$name-$version.tar.gz\
+ http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
+
+build() {
+cd $name-$version
+patch -Np1 -i ../bzip2-$version-install_docs-1.patch
+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
+}