zlib: move so symlink to devel pkg.

This commit is contained in:
Juan RP 2013-12-29 10:04:41 +01:00
parent e64ca2c400
commit 3c1ce3dbfa
1 changed files with 5 additions and 11 deletions

View File

@ -1,8 +1,9 @@
# Template build file for 'zlib'
pkgname=zlib
version=1.2.8
revision=1
revision=2
bootstrap=yes
build_style=configure
short_desc="A compression/decompression Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="zlib"
@ -18,27 +19,20 @@ do_configure() {
CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --shared
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} LDCONFIG= install
}
zlib-devel_package() {
depends="zlib>=${version}"
depends="zlib>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}
zlib_package() {
pkg_install() {
vmove usr
vmove all
}
}