void-packages/templates/gdbm/template
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00

21 lines
639 B
Text

# Template file for 'gdbm'
pkgname=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
}