blob: 8086488730113ef82874ac390a0c96e86b07bd35 (
plain)
1 # Description: Filesystem utilities for XFS
2 # URL: https://xfs.org/index.php/Main_Page
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: inih libdevmapper liburcu
5
6 name=xfsprogs
7 version=6.1.1
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 \
20 --prefix=/usr \
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 }
|