2008-10-25 02:33:04 +02:00
|
|
|
# Template file for 'gdbm'
|
|
|
|
pkgname=gdbm
|
2011-11-17 15:41:06 +01:00
|
|
|
version=1.10
|
2012-01-12 09:35:43 +01:00
|
|
|
revision=1
|
2011-11-17 15:41:06 +01:00
|
|
|
homepage="http://www.gnu.org.ua/software/gdbm/"
|
2008-10-28 23:57:52 +01:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-01-12 09:35:43 +01:00
|
|
|
configure_args="--enable-libgdbm-compat"
|
2008-10-25 02:33:04 +02:00
|
|
|
short_desc="GNU database routines"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-17 15:41:06 +01:00
|
|
|
license="GPL-3"
|
|
|
|
checksum=23f8134c5b94bbfb06d756a6b78f074fba6e6028cf2fe01341d40b26db773441
|
2008-10-25 02:33:04 +02:00
|
|
|
long_desc="
|
|
|
|
GNU dbm is a set of database routines that use extensible hashing.
|
|
|
|
It works similar to the standard Unix dbm routines."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="gdbm-devel"
|
2012-01-13 09:55:03 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|