void-packages/templates/gdbm/template
Juan RP 3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00

22 lines
654 B
Text

# Template file for 'gdbm'
pkgname=gdbm
sourcepkg=gdbm
version=1.8.3
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
make_install_args="INSTALL_ROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="GNU database routines"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
long_desc="
GNU dbm is a set of database routines that use extensible hashing.
It works similar to the standard Unix dbm routines."
subpackages="devel"
Add_dependency full glibc
post_build()
{
mkdir -p ${DESTDIR}/usr/share/info
touch -f ${DESTDIR}/usr/share/info/dir
}