gdbm: convert to the new template format.

This commit is contained in:
Juan RP 2013-04-10 23:15:27 +02:00
parent 6486855614
commit e4fe015d92
2 changed files with 18 additions and 19 deletions

View File

@ -1,17 +0,0 @@
# Template file for 'gdbm-devel'.
#
depends="glibc-devel"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
vmove usr/bin usr
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/share/info usr/share
vmove usr/share/man usr/share
}

View File

@ -1,8 +1,7 @@
# Template file for 'gdbm'
pkgname=gdbm
version=1.10
revision=4
subpackages="gdbm-devel"
revision=5
build_style=gnu-configure
configure_args="--enable-libgdbm-compat --disable-rpath"
short_desc="GNU database routines"
@ -29,3 +28,20 @@ post_install() {
ln -sf ../ndbm.h ${DESTDIR}/usr/include/gdbm/ndbm.h
ln -sf ../dbm.h ${DESTDIR}/usr/include/gdbm/dbm.h
}
gdbm-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/share/info
vmove usr/share/man
}
}
gdbm_package() {
pkg_install() {
vmove usr
}
}