summaryrefslogtreecommitdiffstats
path: root/zlib/Pkgfile
blob: 8c39e071d741e66a6975a4b8e935a3a90585093a (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;
	CHOST=$CTARGET ./configure \
		--shared \
		--prefix=$prefix;
	make;
	make DESTDIR=$PKG mandir=$mandir install
}