aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-05 02:35:33 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-05 02:41:31 +0100
commitc185a2baa7dcbfd6802f227d98485f5a3217a40d (patch)
treeedcda9f7f191ae1cf2c866eaecaa8ab22f0a7e58 /testing
parent1601cce0454f53a861e3889552a6daa318b8c61d (diff)
downloadaports-c185a2baa7dcbfd6802f227d98485f5a3217a40d.tar.bz2
aports-c185a2baa7dcbfd6802f227d98485f5a3217a40d.tar.xz
testing/libeconf: new aport
https://github.com/openSUSE/libeconf Enhanced Config File Parser
Diffstat (limited to 'testing')
-rw-r--r--testing/libeconf/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libeconf/APKBUILD b/testing/libeconf/APKBUILD
new file mode 100644
index 0000000000..3be0a96f15
--- /dev/null
+++ b/testing/libeconf/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=libeconf
+pkgver=0.3.5
+pkgrel=0
+pkgdesc="Enhanced Config File Parser"
+url="https://github.com/openSUSE/libeconf"
+arch="all"
+license="MIT"
+subpackages="$pkgname-dev"
+source="https://github.com/openSUSE/libeconf/releases/download/$pkgver/libeconf-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="18bb408185721c054695fa46b488e7e2226dc25a116a019bf3178233a9928cfd2711dce182793e7bbf235d69023bffc5c29897901c90d04bd066620505069900 libeconf-0.3.5.tar.xz"