blob: dff9b9d56ac3f40bf4ae6bfc5ad30b9261bacb46 (
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 readline
5
6 name=xfsprogs
7 version=4.19.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 --enable-readline \
21 --disable-gettext \
22 --disable-libicu
23 make
24 make -j1 DIST_ROOT=$PKG install install-dev
25
26 rm $PKG/lib/libhandle.{so,a,la}
27 ln -sf ../../lib/$(readlink $PKG/lib/libhandle.so.1) $PKG/usr/lib/libhandle.so
28
29 rm -r $PKG/usr/{share/doc,lib/xfsprogs}
30 }
|