PKGBUILDs/core/gdbm/PKGBUILD

25 lines
656 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Philipp Scholl <pscholl@bawue.de>
2009-09-26 15:58:33 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=gdbm
pkgver=1.8.3
pkgrel=1
pkgdesc="GNU database library"
url="http://www.gnu.org/software/gdbm/gdbm.html"
license=('GPL')
arch=(arm)
groups=('base')
2009-09-26 15:58:33 +00:00
depends=()
2009-09-26 14:35:50 +00:00
source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz)
md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1')
build() {
cd $startdir/src/$pkgname-$pkgver
2009-09-26 15:58:33 +00:00
./configure --prefix=/opt
make prefix=/opt || return 1
make prefix=$startdir/pkg/opt install
make prefix=$startdir/pkg/opt install-compat
chown root.root $startdir/pkg/opt/include/{dbm.h,gdbm.h,ndbm.h}
2009-09-26 14:35:50 +00:00
find $startdir/pkg -name '*.la' -exec rm {} \;
}