aboutsummaryrefslogtreecommitdiffstats
path: root/community/hivex/APKBUILD
blob: 4a604503eb91d09bd3550b2fb2a46ece85c0c133 (plain) (blame)
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.13
pkgrel=0
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"
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
}

md5sums="a4c9cb138c0cb839759c54b59e52793f  hivex-1.3.13.tar.gz"
sha256sums="315bc304725309dc3cc844d1d1524055530fd18a1673fe3b95ef7892d0305591  hivex-1.3.13.tar.gz"
sha512sums="5a045e90cbfc63f2fe317d04ef4dbfcd533968e3c635e8fa709fc58beabf442d7c3a7d2144995896dc221c454924c959ab9ccfa51454599dec0f7b26f955c072  hivex-1.3.13.tar.gz"