mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
24 lines
656 B
Bash
24 lines
656 B
Bash
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
|
# Modified by OpenPogo
|
|
|
|
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')
|
|
depends=()
|
|
source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./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}
|
|
find $startdir/pkg -name '*.la' -exec rm {} \;
|
|
}
|