blob: 9600a448ede6bb55b73588a89559da39bb919e99 (
plain)
1 # Description: Filesystem utilities for XFS
2 # URL: http://www.xfs.org
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: util-linux
5
6 name=xfsprogs
7 version=4.17.0
8 release=1
9 source=(https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$name-$version.tar.xz)
10
11 build() {
12 cd $name-$version
13
14 make configure
15
16 export DEBUG=-DNDEBUG
17 export OPTIMIZER=$CFLAGS
18
19 ./configure --prefix=/usr \
20 --disable-gettext
21 make
22 make -j1 DIST_ROOT=$PKG install install-dev
23
24 rm $PKG/lib/libhandle.{so,a,la}
25 ln -sf ../../lib/$(readlink $PKG/lib/libhandle.so.1) $PKG/usr/lib/libhandle.so
26
27 rm -r $PKG/usr/share/doc
28 rm $PKG/usr/lib/xfsprogs/xfs_scrub_all.cron
29 }
|