summaryrefslogtreecommitdiffstats
path: root/zlib/Pkgfile
blob: dd76f54e75ae7aa25918895029a1a45698d39951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
description="A compression/decompression Library."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.zlib.net/"
depends=()

name=zlib
version=1.2.5
release=2
source=( 
	http://www.zlib.net/$name-$version.tar.bz2 
	zlib-$version-lfs-decls.patch
)
build () 
{ 
	cd $name-$version;
	patch -p1 -i $SRC/$name-$version-lfs-decls.patch;
	CBUILD=$CHOST ./configure \
		--shared \
		--prefix=$prefix;
	make;
	make DESTDIR=$PKG mandir=$mandir install
}