void-packages/srcpkgs/zlib/template

29 lines
674 B
Text
Raw Normal View History

# Template build file for 'zlib'
pkgname=zlib
2013-04-29 15:07:48 +00:00
version=1.2.8
revision=4
2013-02-05 01:48:48 +00:00
bootstrap=yes
2013-12-29 09:04:41 +00:00
build_style=configure
short_desc="A compression/decompression Library"
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
2013-02-05 01:48:48 +00:00
do_configure() {
LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared
2013-02-05 01:48:48 +00:00
}
zlib-devel_package() {
2013-12-29 09:04:41 +00:00
depends="zlib>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-12-29 09:04:41 +00:00
vmove "usr/lib/*.so"
vmove usr/share
}
}