aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/microxml/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/microxml/APKBUILD')
-rw-r--r--unmaintained/microxml/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/microxml/APKBUILD b/unmaintained/microxml/APKBUILD
new file mode 100644
index 0000000000..59a1a6418b
--- /dev/null
+++ b/unmaintained/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://dev.alpinelinux.org/archive/$pkgname/$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"