zlib: install soname symlinks, bumprev.
This commit is contained in:
parent
f4d881c794
commit
09b07d4bf0
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'zlib'
|
# Template build file for 'zlib'
|
||||||
pkgname=zlib
|
pkgname=zlib
|
||||||
version=1.2.5
|
version=1.2.5
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://www.zlib.net/$pkgname-$version.tar.bz2"
|
distfiles="http://www.zlib.net/$pkgname-$version.tar.bz2"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --shared"
|
configure_args="--prefix=/usr --shared"
|
||||||
|
@ -21,3 +21,10 @@ long_desc="
|
||||||
base_chroot=yes
|
base_chroot=yes
|
||||||
subpackages="zlib-devel"
|
subpackages="zlib-devel"
|
||||||
Add_dependency run glibc
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue