aboutsummaryrefslogtreecommitdiffstats
path: root/testing/microxml
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-21 07:36:36 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-21 07:49:10 +0000
commit958a01e503ff988fa7ba7f34967bd01b5a292d25 (patch)
tree6fc8e8c2069e434ce8fa410e4acda71c2446eb26 /testing/microxml
parent65a5d77ba8eb659ec3ec9b174a78c182943c79bc (diff)
downloadaports-958a01e503ff988fa7ba7f34967bd01b5a292d25.tar.bz2
aports-958a01e503ff988fa7ba7f34967bd01b5a292d25.tar.xz
testing/microxml: new aport
Micro XML library
Diffstat (limited to 'testing/microxml')
-rw-r--r--testing/microxml/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/microxml/APKBUILD b/testing/microxml/APKBUILD
new file mode 100644
index 0000000000..4b963ea323
--- /dev/null
+++ b/testing/microxml/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=microxml
+pkgver=0_git20150918
+pkgrel=0
+pkgdesc="Micro XML library"
+url="http://www.freecwmp.org/"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev autoconf"
+install=
+subpackages=
+source="http://distfiles.alpinelinux.org/$pkgname-$pkgver.tar.gz"
+giturl="git://dev.freecwmp.org/microxml"
+disturl="dev.alpinelinux.org:/archive/$pkgname"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+ autoconf
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DSTROOT="$pkgdir" install
+
+ # remove the 2 lines below (and this) if there is no init.d script
+ # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="4a18c6863d8e8defb955d1d21bdf796e microxml-0_git20150918.tar.gz"
+sha256sums="e1ccc83ff12c1ce00c70dd01d03cabcb09c39078c2b5af473fd0ce109c361c59 microxml-0_git20150918.tar.gz"
+sha512sums="f0df12c28f7bdca8425cc0eb2c3104cc9eb77af89e7efae0810fa22224614f8f027e4454a3e41d529c71f5fb172af4aba5b1af5415d460012305cc6b6eda3568 microxml-0_git20150918.tar.gz"