zlib: move so symlink to devel pkg.
This commit is contained in:
parent
e64ca2c400
commit
3c1ce3dbfa
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue