summaryrefslogtreecommitdiffstats
path: root/main/reiserfsprogs/APKBUILD
blob: 49a0f7b41a9cd13965379da0ab8435b6befaad42 (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
38
39
40
41
42
43
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=reiserfsprogs
pkgver=3.6.23
pkgrel=0
pkgdesc="Reiserfs Utilities"
url="http://www.namesys.com"
arch="all"
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"
#	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="e7224bbda4d366ba9b11cdf98616c8f6  reiserfsprogs-3.6.23.tar.xz"
sha256sums="022350675117a8b07d736240b16f01c8ffcc07a0bdf997a4c16818902fc6bb75  reiserfsprogs-3.6.23.tar.xz"
sha512sums="31039a0758148680a1f4e34b4c030f4c947732d6a0701f3df466b76509d72df5d2c8ac3e760d4ddc1edba9a229297d02ae0e4549ff9875217e75fecade76f2d6  reiserfsprogs-3.6.23.tar.xz"