zlib: convert to the new template format.
This commit is contained in:
parent
2062680402
commit
6486855614
|
@ -3,7 +3,6 @@ pkgname=zlib
|
|||
version=1.2.7
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
subpackages="zlib-devel"
|
||||
short_desc="A compression/decompression Library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="zlib"
|
||||
|
@ -26,3 +25,20 @@ do_build() {
|
|||
do_install() {
|
||||
make DESTDIR=${DESTDIR} LDCONFIG= install
|
||||
}
|
||||
|
||||
zlib-devel_package() {
|
||||
depends="zlib>=${version}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
||||
zlib_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# Template file for 'zlib-devel'.
|
||||
#
|
||||
depends="glibc-devel zlib"
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libz.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
||||
}
|
Loading…
Reference in New Issue