2008-10-22 16:51:18 +02:00
|
|
|
# Template build file for 'zlib'
|
|
|
|
pkgname=zlib
|
2013-04-29 17:07:48 +02:00
|
|
|
version=1.2.8
|
2014-05-22 17:20:38 +02:00
|
|
|
revision=5
|
2013-02-05 02:48:48 +01:00
|
|
|
bootstrap=yes
|
2013-12-29 10:04:41 +01:00
|
|
|
build_style=configure
|
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"
|
2013-04-29 17:07:48 +02:00
|
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
|
|
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
|
2008-10-22 16:52:17 +02:00
|
|
|
|
2013-02-05 02:48:48 +01:00
|
|
|
do_configure() {
|
2014-02-10 23:35:35 +01:00
|
|
|
LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared
|
2013-02-05 02:48:48 +01:00
|
|
|
}
|
|
|
|
|
2013-04-10 23:12:29 +02:00
|
|
|
zlib-devel_package() {
|
2013-12-29 10:04:41 +01:00
|
|
|
depends="zlib>=${version}_${revision}"
|
2013-04-10 23:12:29 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-12-29 10:04:41 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-10 23:12:29 +02:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|