summaryrefslogblamecommitdiff
path: root/user/gdbm/APKBUILD
blob: 230f62e28a9d5957852140dea1e192dbb8a51520 (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.1
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="adf9d6c5bc843ff0d7f88c2a1667d509973b2d63378d0001d7e74cc10aee6ea498a4513cc88ddf78c32ba4db5cb040b2794f4f1b3338c65d9894058850e2f5ef  gdbm-1.18.1.tar.gz"