From 5559b10add25b8c7ce8e211d3ffcebc9d8b725c0 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 7 Aug 2009 13:28:50 +0200 Subject: Ajout de zlib#1.2.3-1 --- base/zlib/.footprint | 14 ++++++++++++++ base/zlib/.md5sum | 1 + base/zlib/Pkgfile | 27 +++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 base/zlib/.footprint create mode 100644 base/zlib/.md5sum create mode 100755 base/zlib/Pkgfile (limited to 'base/zlib') diff --git a/base/zlib/.footprint b/base/zlib/.footprint new file mode 100644 index 000000000..fbf0d3336 --- /dev/null +++ b/base/zlib/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libz.so.1 -> libz.so.1.2.3 +-rwxr-xr-x root/root lib/libz.so.1.2.3 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/zconf.h +-rw-r--r-- root/root usr/include/zlib.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libz.a +lrwxrwxrwx root/root usr/lib/libz.so -> ../../lib/libz.so.1.2.3 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/zlib.3.gz diff --git a/base/zlib/.md5sum b/base/zlib/.md5sum new file mode 100644 index 000000000..71b1da9f9 --- /dev/null +++ b/base/zlib/.md5sum @@ -0,0 +1 @@ +dee233bf288ee795ac96a98cc2e369b6 zlib-1.2.3.tar.bz2 diff --git a/base/zlib/Pkgfile b/base/zlib/Pkgfile new file mode 100755 index 000000000..94fcd4aab --- /dev/null +++ b/base/zlib/Pkgfile @@ -0,0 +1,27 @@ +# Description: Librairie de compression/décompression +# URL: http://www.zlib.net/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: glibc + +name=zlib +version=1.2.3 +release=1 +source=(http://www.zlib.net/$name-$version.tar.bz2) + +build() { + cd $name-$version + export CFLAGS="${CFLAGS} -fPIC" + ./configure --prefix=/usr --shared --libdir=/lib + make + make prefix=$PKG/usr libdir=$PKG/lib install + rm -v $PKG/lib/libz.so + mkdir -p $PKG/usr/lib + ln -sfv ../../lib/libz.so.1.2.3 $PKG/usr/lib/libz.so + make clean + ./configure --prefix=/usr + make + make prefix=$PKG/usr install + + chmod -v 644 $PKG/usr/lib/libz.a +} -- cgit v1.2.3-70-g09d2