zlib: install soname symlinks, bumprev.

This commit is contained in:
Juan RP 2010-11-05 11:55:31 +01:00
parent f4d881c794
commit 09b07d4bf0
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'zlib'
pkgname=zlib
version=1.2.5
revision=1
revision=2
distfiles="http://www.zlib.net/$pkgname-$version.tar.bz2"
build_style=configure
configure_args="--prefix=/usr --shared"
@ -21,3 +21,10 @@ long_desc="
base_chroot=yes
subpackages="zlib-devel"
Add_dependency run glibc
post_install()
{
cd ${DESTDIR}/usr/lib && \
ln -s libz.so.${version} libz.so.1 &&
ln -s libz.so.${version} libz.so
}