blob: 6da87a83f3577d8fbf5e887152f53bc0bc6d9dc1 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
pkgver=3.0.0
pkgrel=0
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
license="LGPL"
depends="e2fsprogs"
makedepends="e2fsprogs-dev autoconf"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
xfsprogs-3.0.0-gzip.patch
"
build() {
cd "$srcdir"/$pkgname-$pkgver
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
autoconf
export DEBUG=-DNDEBUG
export OPTIMIZER="$CFLAGS"
ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes \
./configure --prefix=/usr \
--sbindir=/sbin \
--libexecdir=/usr/lib \
--enable-gettext=no
# seems like parallel build still breaks
# http://oss.sgi.com/bugzilla/show_bug.cgi?id=797
make -j1 || return 1
make -j1 DIST_ROOT="$pkgdir" install install-dev
}
md5sums="ec734f935ec87ebb8be890d29380a3e6 xfsprogs-3.0.0.tar.gz
c72865de30f55343e843dd4fd49a91c5 xfsprogs-3.0.0-gzip.patch"
|