2010-05-15 15:41:39 +02:00
|
|
|
# Template file for 'zlib32'
|
|
|
|
pkgname=zlib32
|
2014-02-22 09:01:36 +01:00
|
|
|
version=1.2.8
|
|
|
|
revision=3
|
2010-05-15 15:41:39 +02:00
|
|
|
distfiles="
|
2014-02-22 09:01:36 +01:00
|
|
|
http://repo.voidlinux.eu/current/zlib-${version}_${revision}.i686.xbps
|
|
|
|
http://repo.voidlinux.eu/current/zlib-devel-${version}_${revision}.i686.xbps"
|
2010-05-15 15:41:39 +02:00
|
|
|
short_desc="A compression/decompression Library (32 bits)"
|
2013-03-31 09:52:49 +02:00
|
|
|
homepage="http://www.zlib.net"
|
|
|
|
license="zlib"
|
2010-05-15 15:41:39 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum="
|
2014-02-22 09:01:36 +01:00
|
|
|
aa11ecab97f5feb0585c5c50abb9acd7c432f6592246f6edc80fa41fa68bc6a8
|
|
|
|
4fde2eb758f5b32dfce8eb25fd50f6ea7ad5c995511f247fc0c149878299749f"
|
2010-05-15 15:41:39 +02:00
|
|
|
|
|
|
|
only_for_archs=x86_64
|
2014-01-01 16:10:11 +01:00
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
2014-02-22 09:01:36 +01:00
|
|
|
create_wrksrc=yes
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="glibc32"
|
2010-05-15 15:41:39 +02:00
|
|
|
|
2014-02-22 09:01:36 +01:00
|
|
|
do_extract() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2012-02-10 10:46:32 +01:00
|
|
|
do_install() {
|
2010-05-15 15:41:39 +02:00
|
|
|
for f in ${distfiles}; do
|
|
|
|
local srcfile="${XBPS_SRCDISTDIR}/$(basename ${f})"
|
2014-02-22 09:01:36 +01:00
|
|
|
tar xf ${srcfile} -C ${wrksrc}
|
2010-05-15 15:41:39 +02:00
|
|
|
done
|
2011-07-11 19:06:14 +02:00
|
|
|
vmkdir usr/lib32
|
|
|
|
vcopy "usr/lib/*.a" usr/lib32
|
|
|
|
vcopy "usr/lib/*.so*" usr/lib32
|
2010-05-15 15:41:39 +02:00
|
|
|
}
|
2013-04-14 18:49:07 +02:00
|
|
|
|
|
|
|
zlib32-devel_package() {
|
|
|
|
depends="glibc32-devel zlib32>=${version}"
|
|
|
|
nostrip=yes
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 18:49:07 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib32/libz.a
|
2014-02-22 09:01:36 +01:00
|
|
|
vmove usr/lib32/libz.so
|
2013-04-14 18:49:07 +02:00
|
|
|
}
|
|
|
|
}
|