aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libnxml
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-03-19 11:08:44 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-19 11:21:40 +0000
commit6c2e6bb9b4f4012f7dcd2dd18eb0bd7801841f62 (patch)
tree8b707ea3b3ec29a51379289cb0e075d529c1d234 /testing/libnxml
parent27b0e49a86ff773833fe463edff6964f26eacbd4 (diff)
downloadaports-6c2e6bb9b4f4012f7dcd2dd18eb0bd7801841f62.tar.bz2
aports-6c2e6bb9b4f4012f7dcd2dd18eb0bd7801841f62.tar.xz
testing/libnxml: new aport
Diffstat (limited to 'testing/libnxml')
-rw-r--r--testing/libnxml/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libnxml/APKBUILD b/testing/libnxml/APKBUILD
new file mode 100644
index 0000000000..eea5af87bf
--- /dev/null
+++ b/testing/libnxml/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=libnxml
+pkgver=0.18.3
+pkgrel=0
+pkgdesc="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams"
+url="http://www.autistici.org/bakunin/libnxml"
+arch="all"
+license="LGPL"
+makedepends="curl-dev"
+subpackages="$pkgname-dev"
+source="http://www.autistici.org/bakunin/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="fc420a4b773eca68608ac1d509930a0528c3a41b53fc7cc340c09fd53f92a88afb4091e810d97d59e73a8beeaaeed52dd3c880273ef512a5305800b3ef46717a libnxml-0.18.3.tar.gz"