summaryrefslogtreecommitdiff
path: root/community/osinfo-db-tools/APKBUILD
blob: 5b9a7b1f97c9bbbf523019233c3649d77b9df492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"