diff options
author | Max Rees <maxcrees@me.com> | 2018-07-23 23:28:25 -0400 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-24 20:10:41 -0500 |
commit | 9fececa362c4e202125d77a8a7626d0d6792cbe1 (patch) | |
tree | 6ec301ca0aee20f11e48b1ef196f10ffb368db87 /user/gdbm/APKBUILD | |
parent | cd111d8e19052efc40fd24002f0aa7f96c6184ad (diff) | |
download | packages-9fececa362c4e202125d77a8a7626d0d6792cbe1.tar.gz packages-9fececa362c4e202125d77a8a7626d0d6792cbe1.tar.bz2 packages-9fececa362c4e202125d77a8a7626d0d6792cbe1.tar.xz packages-9fececa362c4e202125d77a8a7626d0d6792cbe1.zip |
user/gdbm: pull in, license, -lang, upgrade
Diffstat (limited to 'user/gdbm/APKBUILD')
-rw-r--r-- | user/gdbm/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/gdbm/APKBUILD b/user/gdbm/APKBUILD new file mode 100644 index 000000000..15494f87e --- /dev/null +++ b/user/gdbm/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=gdbm +pkgver=1.16 +pkgrel=0 +pkgdesc="GNU dbm is a 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="97f4f37fd95cee4dd5c9c3f42ea3aecaa28016e90fe0e168a9d8c38e92602221f946c273bb249d508200249701c6403d0f9351460485dfae34a3bf625de59d2c gdbm-1.16.tar.gz" |