diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-04 14:06:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-04 14:07:02 +0000 |
commit | 9adcf14ddbfdf8a99b47c82513f0257e05a9913f (patch) | |
tree | 51e77ee804cd1a763e94ebf45770973872726781 /testing/musl-obstack/APKBUILD | |
parent | afccd7fd228c4516403d8015fc7b598f68283d29 (diff) | |
download | aports-9adcf14ddbfdf8a99b47c82513f0257e05a9913f.tar.bz2 aports-9adcf14ddbfdf8a99b47c82513f0257e05a9913f.tar.xz |
testing/musl-obstack: new aport
A standalone library to implement GNU libc's obstack
https://github.com/pullmoll/musl-obstack
Diffstat (limited to 'testing/musl-obstack/APKBUILD')
-rw-r--r-- | testing/musl-obstack/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/musl-obstack/APKBUILD b/testing/musl-obstack/APKBUILD new file mode 100644 index 0000000000..ef775d40fb --- /dev/null +++ b/testing/musl-obstack/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=musl-obstack +pkgver=1.1 +pkgrel=0 +pkgdesc="A standalone library to implement GNU libc's obstack" +url="https://github.com/pullmoll/musl-obstack" +arch="all" +license="GPL-2.0" +depends="" +depends_dev="" +makedepends="$depends_dev automake autoconf libtool" +install="" +subpackages="$pkgname-dev" +source="musl-obstack-$pkgver.tar.gz::https://github.com/pullmoll/musl-obstack/archive/v$pkgver.tar.gz" +builddir="$srcdir/musl-obstack-$pkgver" + +build() { + cd "$builddir" + ./bootstrap.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +sha512sums="e3a9956133d72a00663cf8d9720e62002142e113e7d67e2338a2bce1bdfac9eefd4290db8add15eabafdf01065f7fe9bb6754faa36b88df819c53d44fa140757 musl-obstack-1.1.tar.gz" |