aboutsummaryrefslogtreecommitdiffstats
path: root/community/hivex/APKBUILD
blob: 87cb7472720d0165f53d7bec478e469e683ba6a0 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=hivex
pkgver=1.3.14
pkgrel=1
pkgdesc="System for extracting the contents of Windows Registry."
url="http://libguestfs.org"
arch="all"
license="LGPL2.1"
depends=""
makedepends="python2-dev libxml2-dev readline-dev perl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://libguestfs.org/download/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
    ./configure \
		--bindir=/usr/bin \
		--libdir=/usr/lib \
		--prefix=/usr \
		--disable-rpath \
		--disable-perl \
		--disable-ruby \
		--disable-ocaml \
		--disable-static 
    make || return 1
}

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

sha512sums="dd7dd52dceda580179a815fc48a2a2c7e8f7234614beceb937fba7e317df17984e65453338160c4c467b70d7d4f9bd61b48aad3ca51e19bd5e4cfbca8ee3adb6  hivex-1.3.14.tar.gz"