2010-05-15 15:41:39 +02:00
|
|
|
# Template file for 'zlib32'
|
|
|
|
pkgname=zlib32
|
2013-03-31 09:52:49 +02:00
|
|
|
version=1.2.7
|
|
|
|
revision=1
|
2010-05-15 15:41:39 +02:00
|
|
|
distfiles="
|
2013-04-14 18:49:07 +02:00
|
|
|
http://xbps.nopcode.org/repos/current//zlib-${version}_${revision}.i686.xbps
|
|
|
|
http://xbps.nopcode.org/repos/current//zlib-devel-${version}_${revision}.i686.xbps"
|
2013-08-12 15:46:22 +02:00
|
|
|
makedepends="bsdtar"
|
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="
|
2013-03-31 09:52:49 +02:00
|
|
|
cfc32d247b685a45e056b40293e2b763a412727ead41fcaba09d476926328e28
|
|
|
|
ef0fdbc463bf689f0d6ea7e9e410c8e1ab79232808034a3bb640ad4ad5210bc9"
|
2010-05-15 15:41:39 +02:00
|
|
|
long_desc="
|
|
|
|
This is a general purpose data compression library. All the code
|
|
|
|
is thread safe. The data format used by the library is described
|
|
|
|
by RFCs (Request for Comments) 1950 to 1952.
|
|
|
|
|
|
|
|
This package installs the 32 bit libraries for x86_64 systems."
|
|
|
|
|
|
|
|
only_for_archs=x86_64
|
2014-01-01 16:10:11 +01:00
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
|
|
|
depends="glibc32"
|
2010-05-15 15:41:39 +02:00
|
|
|
|
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})"
|
2011-07-11 19:06:14 +02:00
|
|
|
bsdtar 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
|
|
|
|
}
|
|
|
|
}
|