aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlake Oliver <oliver22213@me.com>2020-10-17 02:14:23 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-10-17 08:22:31 +0000
commitf0141397789af2b9ff720217f9b7e9a129beaae8 (patch)
tree1443bd10932ffa4523b46d8c7323f8f53227e5e5
parent3b4330f3ccea3432e8f7319a9dfc3cbc29918ca2 (diff)
downloadaports-f0141397789af2b9ff720217f9b7e9a129beaae8.tar.gz
aports-f0141397789af2b9ff720217f9b7e9a129beaae8.tar.bz2
aports-f0141397789af2b9ff720217f9b7e9a129beaae8.tar.xz
testing/libdotconf: new aport
https://github.com/williamh/dotconf dot.conf configuration file parser
-rw-r--r--testing/libdotconf/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libdotconf/APKBUILD b/testing/libdotconf/APKBUILD
new file mode 100644
index 0000000000..dcf0b336f2
--- /dev/null
+++ b/testing/libdotconf/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Blake Oliver <oliver22213@me.com>
+# Maintainer: Blake Oliver <oliver22213@me.com>
+pkgname=libdotconf
+pkgver=1.3
+pkgrel=0
+pkgdesc="dot.conf configuration file parser"
+url="https://github.com/williamh/dotconf"
+arch="all"
+license="LGPL-2.1-only"
+makedepends="autoconf automake libtool"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/williamh/dotconf/archive/v$pkgver/libdotconf-$pkgver.tar.gz"
+builddir="$srcdir/dotconf-$pkgver"
+options="!check" # No test suite
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+prepare() {
+ autoreconf -fi
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ccd806685879e2438efaa06949cd685af8bd318d38111babf8c289134b90d01bc2857277f2aa01549a1ffe8a2f2d5bbb0685f46de0d7b987412350af8a28d6d5 libdotconf-1.3.tar.gz"