summaryrefslogblamecommitdiff
path: root/user/gdbm/APKBUILD
blob: 14e1fc411e0eecbe31e37a7bdd7e8d83efcd6ae7 (plain) (tree)
1
2
3
4
5
6
7



                                                     
           
        
                                                              





























                                                           
                                                                                                                                                               
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=gdbm
pkgver=1.18
pkgrel=0
pkgdesc="Set of database routines that use extensible hashing"
url="https://www.gnu.org/software/gdbm/"
arch="all"
license="GPL-2.0+ AND GPL-3.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-libgdbm-compat \
		--disable-dependency-tracking \
		--enable-fast-install
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="57c7e5dc52464e97ad955e28d49fdb3557d8e3bdf280f7d3cee69539e4878f055db17cb9dd591f82fadb8fa5041a5a56d8a571d34f6e115470a3a82537f872a8  gdbm-1.18.tar.gz"