aboutsummaryrefslogtreecommitdiffstats
path: root/community/osinfo-db-tools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-13 19:36:12 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-13 19:36:12 +0200
commita1a66132b6406049f1815208ff2edd8eaba5f20d (patch)
tree1190ff1fa83e069870670d4630df5463112e6528 /community/osinfo-db-tools/APKBUILD
parentaefed4153f594ca97c1a0863c37132c6f81d1c99 (diff)
downloadaports-a1a66132b6406049f1815208ff2edd8eaba5f20d.tar.bz2
aports-a1a66132b6406049f1815208ff2edd8eaba5f20d.tar.xz
community/osinfo-db*: move from testing
needed by libosinfo
Diffstat (limited to 'community/osinfo-db-tools/APKBUILD')
-rw-r--r--community/osinfo-db-tools/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/osinfo-db-tools/APKBUILD b/community/osinfo-db-tools/APKBUILD
new file mode 100644
index 0000000000..5b9a7b1f97
--- /dev/null
+++ b/community/osinfo-db-tools/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=osinfo-db-tools
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Tools for managing the osinfo database"
+url="http://libosinfo.org/"
+arch="all"
+license="GPLv2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev intltool glib-dev libxml2-dev libarchive-dev
+ libxslt-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://releases.pagure.org/libosinfo/osinfo-db-tools-$pkgver.tar.gz"
+builddir="$srcdir/osinfo-db-tools-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="52e08e67b75fb84c7d7721dd76f1bf09f71c27deffc4d8391234aec939863de4e96cbd8fc9783944b2493fef183518a21ff185ec5a5d9934adc6d3c67bf0f972 osinfo-db-tools-1.1.0.tar.gz"