aboutsummaryrefslogtreecommitdiffstats
path: root/community/nilfs-utils/APKBUILD
blob: f1d66cf19261117d64cb559c228ed21dac7eb9a7 (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
44
45
46
47
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=nilfs-utils
pkgver=2.2.9
pkgrel=1
pkgdesc="Utilities for managing NILFS v2 filesystems"
url="http://nilfs.sourceforge.net"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake libtool linux-headers util-linux-dev"
options="!check" # no test suite
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="http://nilfs.sourceforge.net/download/nilfs-utils-$pkgver.tar.bz2"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	LDCONFIG=/bin/true \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		--without-selinux

	sed -i \
		-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
		-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
		libtool
	make
}

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

sha512sums="
dd8ab20ee0d6750a6d81f86fe4d1ad94a8a71aa53ee7cd38550ea32fffcc9527db1c75d34f732f0f8f6379a808249f8eec2619e54c595566a3fc434a87d9e66d  nilfs-utils-2.2.9.tar.bz2
"