acf5028955
Closes #9373.
28 lines
678 B
Bash
28 lines
678 B
Bash
# Template build file for 'zlib'
|
|
pkgname=zlib
|
|
version=1.2.11
|
|
revision=2
|
|
bootstrap=yes
|
|
build_style=configure
|
|
short_desc="A compression/decompression Library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="zlib"
|
|
homepage="http://www.zlib.net"
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
checksum=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
|
|
|
do_configure() {
|
|
LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared
|
|
}
|
|
|
|
zlib-devel_package() {
|
|
depends="zlib>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|