aboutsummaryrefslogtreecommitdiffstats
path: root/community/hivex/APKBUILD
blob: 6fe5cf2caeaf05f699004a2f523cc2d1a261227c (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
36
37
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=hivex
pkgver=1.3.18
pkgrel=3
pkgdesc="System for extracting the contents of Windows Registry."
url="http://libguestfs.org"
arch="all"
license="LGPL-2.1"
makedepends="libxml2-dev readline-dev perl-dev"
checkdepends="bash"
subpackages="$pkgname-dev $pkgname-doc"
source="http://libguestfs.org/download/hivex/hivex-$pkgver.tar.gz"

build() {
	./configure \
		--bindir=/usr/bin \
		--libdir=/usr/lib \
		--prefix=/usr \
		--disable-rpath \
		--disable-perl \
		--disable-ruby \
		--disable-ocaml \
		--disable-python \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1851351118921e81df9e505f90d00048a178572c2edd3de40194a69915176bdb615e2eb5afea408d57063e98257c8d1e3d0cd6730407153892cc9e3befc4aa3a  hivex-1.3.18.tar.gz"