Added zlib32-1.2.5 build template for x86_64.
This commit is contained in:
parent
ab70210093
commit
bf108c4daf
3 changed files with 54 additions and 0 deletions
1
srcpkgs/zlib32-devel
Symbolic link
1
srcpkgs/zlib32-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
zlib32
|
38
srcpkgs/zlib32/template
Normal file
38
srcpkgs/zlib32/template
Normal 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
|
||||||
|
}
|
15
srcpkgs/zlib32/zlib32-devel.template
Normal file
15
srcpkgs/zlib32/zlib32-devel.template
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue