aboutsummaryrefslogtreecommitdiffstats
path: root/main/reiserfsprogs/APKBUILD
blob: 8b9d65c91052b2c9ed0e0ef46527d89b8853df9c (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
38
39
40
41
42
43
44
45
46
47
48
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=reiserfsprogs
pkgver=3.6.24
pkgrel=0
pkgdesc="Reiserfs Utilities"
url="http://www.namesys.com"
arch=""
license="GPL"
depends=
makedepends="e2fsprogs-dev"
install=
subpackages="$pkgname-doc"
source="http://ftp.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$pkgver/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

#prepare() {
#	cd "$_builddir"
#	apply patches here
#}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="66787380fb418ff7d88a23e47cda7af6  reiserfsprogs-3.6.24.tar.xz"
sha256sums="7e44fefe557d68a642191428210f3d64d80283b9ad0e45c24130f6ce936b0760  reiserfsprogs-3.6.24.tar.xz"
sha512sums="183cda8c1bef375a9e90b6bfcbbbe7cc901f12890be29551e74950c723b0ae565786be86f69cba2a5d8b2f9014d22f6f3bdf277d666d4b6bea15406cb2803a42  reiserfsprogs-3.6.24.tar.xz"