gdbm: create compat symlinks for headers, bump abi_depends.

This commit is contained in:
Juan RP 2012-01-13 09:55:03 +01:00
parent 23aed7ee88
commit 2ae8307fa8
3 changed files with 10 additions and 1 deletions

View File

@ -1,2 +1,2 @@
abi_depends=">=1.10"
abi_depends=">=1.10_1"
api_depends="${abi_depends}"

View File

@ -1,5 +1,6 @@
# Template file for 'gdbm-devel'.
#
revision=1
short_desc="${short_desc} - development files"
long_desc="${long_desc}

View File

@ -15,3 +15,11 @@ long_desc="
It works similar to the standard Unix dbm routines."
subpackages="gdbm-devel"
post_install() {
# create symlinks for compatibility
vmkdir usr/include/gdbm
ln -sf ../gdbm.h ${DESTDIR}/usr/include/gdbm/gdbm.h
ln -sf ../ndbm.h ${DESTDIR}/usr/include/gdbm/ndbm.h
ln -sf ../dbm.h ${DESTDIR}/usr/include/gdbm/dbm.h
}