summaryrefslogtreecommitdiff
path: root/user/musl-obstack
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:46:56 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:46:56 +0000
commit8f7b486ad35c0419fa830e50dbbfc1250f64c840 (patch)
tree8a3b038396116ca4327c74528b1a96f9f48e70ee /user/musl-obstack
parenta895c65799ca7016076f919a18ae01622a19b0f3 (diff)
downloadpackages-8f7b486ad35c0419fa830e50dbbfc1250f64c840.tar.gz
packages-8f7b486ad35c0419fa830e50dbbfc1250f64c840.tar.bz2
packages-8f7b486ad35c0419fa830e50dbbfc1250f64c840.tar.xz
packages-8f7b486ad35c0419fa830e50dbbfc1250f64c840.zip
user/musl-obstack: new package
Diffstat (limited to 'user/musl-obstack')
-rw-r--r--user/musl-obstack/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/musl-obstack/APKBUILD b/user/musl-obstack/APKBUILD
new file mode 100644
index 000000000..a7466fc96
--- /dev/null
+++ b/user/musl-obstack/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=musl-obstack
+pkgver=1.1
+pkgrel=0
+pkgdesc="Standalone library to implement obstack functionality"
+url=" "
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="musl-obstack-$pkgver.tar.gz::https://github.com/pullmoll/musl-obstack/archive/v$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./bootstrap.sh
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e3a9956133d72a00663cf8d9720e62002142e113e7d67e2338a2bce1bdfac9eefd4290db8add15eabafdf01065f7fe9bb6754faa36b88df819c53d44fa140757 musl-obstack-1.1.tar.gz"