2008-10-22 16:51:18 +02:00
|
|
|
# Template build file for 'zlib'
|
|
|
|
pkgname=zlib
|
2012-05-03 10:47:56 +02:00
|
|
|
version=1.2.7
|
2012-06-03 09:08:53 +02:00
|
|
|
revision=1
|
2013-02-05 02:48:48 +01:00
|
|
|
bootstrap=yes
|
|
|
|
subpackages="zlib-devel"
|
2009-03-18 10:02:43 +01:00
|
|
|
short_desc="A compression/decompression Library"
|
2008-10-22 16:51:18 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-01 00:32:02 +01:00
|
|
|
license="zlib"
|
2013-02-05 02:48:48 +01:00
|
|
|
homepage="http://www.zlib.net"
|
|
|
|
distfiles="$homepage/$pkgname-$version.tar.bz2"
|
2012-05-03 10:47:56 +02:00
|
|
|
checksum=49e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934
|
2008-10-22 16:51:18 +02:00
|
|
|
long_desc="
|
|
|
|
This is a general purpose data compression library. All the code
|
|
|
|
is thread safe. The data format used by the library is described
|
|
|
|
by RFCs (Request for Comments) 1950 to 1952."
|
2008-10-22 16:52:17 +02:00
|
|
|
|
2013-02-05 02:48:48 +01:00
|
|
|
do_configure() {
|
|
|
|
CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --shared
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} LDCONFIG= install
|
|
|
|
}
|