aboutsummaryrefslogtreecommitdiffstats
path: root/main/jfsutils/APKBUILD
blob: 6ce9ffb4aed266196e861a38b47a6f30cae68648 (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
# Contributor: Teran McKinney <sega01@go-beyond.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jfsutils
pkgver=1.1.14
pkgrel=0
pkgdesc="JFS filesystem utilities"
url="http://jfs.sourceforge.net"
arch="all"
license="GPL"
depends=
install=
makedepends="e2fsprogs-dev" # pkgconfig is pulled in externally.
subpackages="$pkgname-doc"
source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build () {
	cd "$_builddir"
	./configure \
		--mandir=/usr/share/man

	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install || return 1
}

md5sums="05150840987176d5e8438066b80add1a  jfsutils-1.1.14.tar.gz"