gdbm: create compat symlinks for headers, bump abi_depends.
This commit is contained in:
parent
23aed7ee88
commit
2ae8307fa8
|
@ -1,2 +1,2 @@
|
||||||
abi_depends=">=1.10"
|
abi_depends=">=1.10_1"
|
||||||
api_depends="${abi_depends}"
|
api_depends="${abi_depends}"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Template file for 'gdbm-devel'.
|
# Template file for 'gdbm-devel'.
|
||||||
#
|
#
|
||||||
|
revision=1
|
||||||
short_desc="${short_desc} - development files"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,11 @@ long_desc="
|
||||||
It works similar to the standard Unix dbm routines."
|
It works similar to the standard Unix dbm routines."
|
||||||
|
|
||||||
subpackages="gdbm-devel"
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue