Added zlib32-1.2.5 build template for x86_64.

This commit is contained in:
Juan RP 2010-05-15 15:41:39 +02:00
parent ab70210093
commit bf108c4daf
3 changed files with 54 additions and 0 deletions

1
srcpkgs/zlib32-devel Symbolic link
View file

@ -0,0 +1 @@
zlib32

38
srcpkgs/zlib32/template Normal file
View file

@ -0,0 +1,38 @@
# Template file for 'zlib32'
pkgname=zlib32
version=1.2.5
distfiles="
http://xbps.nopcode.org/repos/stable/i686/zlib-${version}.i686.xbps
http://xbps.nopcode.org/repos/stable/i686/zlib-devel-${version}.i686.xbps"
build_style=custom-install
short_desc="A compression/decompression Library (32 bits)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum="
cf85398c5d8fbc088d78cdf2e576f8b3fdeca62e59125af1d4f67285cd113666
afcbb528ab625e59c9d05ba6871e381e6c6cfa3e33e4bc261c47797b5ac2e16d"
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
do_install()
{
for f in ${distfiles}; do
local srcfile="${XBPS_SRCDISTDIR}/$(basename ${f})"
bsdtar xf ${srcfile} -C ${wrksrc} || return 1
done
install -d ${DESTDIR}/usr/lib32
cp -a ${wrksrc}/usr/lib/*.{a,so*} ${DESTDIR}/usr/lib32
}

View file

@ -0,0 +1,15 @@
# Template file for 'zlib32-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc32-devel
Add_dependency run zlib32
do_install()
{
mkdir -p ${DESTDIR}/usr/lib32
mv ${SRCPKGDESTDIR}/usr/lib32/libz.a ${DESTDIR}/usr/lib32
}