void-packages/srcpkgs/zlib32/template

44 lines
1 KiB
Text

# Template file for 'zlib32'
pkgname=zlib32
version=1.2.8
revision=3
distfiles="
http://repo.voidlinux.eu/current/zlib-${version}_${revision}.i686.xbps
http://repo.voidlinux.eu/current/zlib-devel-${version}_${revision}.i686.xbps"
short_desc="A compression/decompression Library (32 bits)"
homepage="http://www.zlib.net"
license="zlib"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum="
aa11ecab97f5feb0585c5c50abb9acd7c432f6592246f6edc80fa41fa68bc6a8
4fde2eb758f5b32dfce8eb25fd50f6ea7ad5c995511f247fc0c149878299749f"
only_for_archs=x86_64
nostrip=yes
noverifyrdeps=yes
create_wrksrc=yes
depends="glibc32"
do_extract() {
:
}
do_install() {
for f in ${distfiles}; do
local srcfile="${XBPS_SRCDISTDIR}/$(basename ${f})"
tar xf ${srcfile} -C ${wrksrc}
done
vmkdir usr/lib32
vcopy "usr/lib/*.a" usr/lib32
vcopy "usr/lib/*.so*" usr/lib32
}
zlib32-devel_package() {
depends="glibc32-devel zlib32>=${version}"
nostrip=yes
short_desc+=" - development files"
pkg_install() {
vmove usr/lib32/libz.a
vmove usr/lib32/libz.so
}
}