2008-10-22 14:51:18 +00:00
|
|
|
# Template build file for 'zlib'
|
|
|
|
pkgname=zlib
|
2013-04-29 15:07:48 +00:00
|
|
|
version=1.2.8
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2013-02-05 01:48:48 +00:00
|
|
|
bootstrap=yes
|
2009-03-18 09:02:43 +00:00
|
|
|
short_desc="A compression/decompression Library"
|
2008-10-22 14:51:18 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-31 23:32:02 +00:00
|
|
|
license="zlib"
|
2013-02-05 01:48:48 +00:00
|
|
|
homepage="http://www.zlib.net"
|
2013-04-29 15:07:48 +00:00
|
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
|
|
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
|
2008-10-22 14:51:18 +00: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 14:52:17 +00:00
|
|
|
|
2013-02-05 01:48:48 +00:00
|
|
|
do_configure() {
|
|
|
|
CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --shared
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} LDCONFIG= install
|
|
|
|
}
|
2013-04-10 21:12:29 +00:00
|
|
|
|
|
|
|
zlib-devel_package() {
|
|
|
|
depends="zlib>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
zlib_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|