2010-05-15 15:41:39 +02:00
|
|
|
# Template file for 'zlib32'
|
|
|
|
pkgname=zlib32
|
2012-02-10 10:46:32 +01:00
|
|
|
version=1.2.6
|
2010-05-15 15:41:39 +02:00
|
|
|
distfiles="
|
2012-02-10 10:46:32 +01:00
|
|
|
http://xbps.goodluckwith.us/binpkgs/i686/zlib-${version}.i686.xbps
|
|
|
|
http://xbps.goodluckwith.us/binpkgs/i686/zlib-devel-${version}.i686.xbps"
|
2012-05-23 08:14:33 +02:00
|
|
|
revision=2
|
2010-05-15 15:41:39 +02:00
|
|
|
short_desc="A compression/decompression Library (32 bits)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum="
|
2012-02-10 10:46:32 +01:00
|
|
|
4a4c5aa98a7f47727ff4e4d10d19cf172976b0c65e41b7ac27fe7373f2c8bceb
|
|
|
|
e14e90c90c1ee44d5eea13102607e6f4ce39b292f5f82463b75990e0f9ec368b"
|
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."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
nostrip=yes
|
|
|
|
noextract=yes
|
|
|
|
noverifyrdeps=yes
|
|
|
|
only_for_archs=x86_64
|
|
|
|
|
|
|
|
Add_dependency run glibc32
|
|
|
|
Add_dependency build bsdtar
|
|
|
|
|
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
|
|
|
}
|