2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for XFS
|
2020-06-06 13:07:30 +02:00
|
|
|
# URL: https://xfs.org/index.php/Main_Page
|
2015-08-01 20:54:33 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2020-12-13 12:47:03 +01:00
|
|
|
# Depends on: libdevmapper inih
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=xfsprogs
|
2020-12-13 12:47:03 +01:00
|
|
|
version=5.10.0
|
2015-08-07 22:32:56 +02:00
|
|
|
release=1
|
2017-02-17 12:53:58 +01:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$name-$version.tar.xz)
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
make configure
|
|
|
|
|
|
|
|
export DEBUG=-DNDEBUG
|
|
|
|
export OPTIMIZER=$CFLAGS
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2018-11-10 11:46:54 +01:00
|
|
|
--disable-gettext \
|
|
|
|
--disable-libicu
|
2015-08-01 20:54:33 +02:00
|
|
|
make
|
|
|
|
make -j1 DIST_ROOT=$PKG install install-dev
|
|
|
|
|
2015-11-26 17:38:06 +01:00
|
|
|
rm $PKG/lib/libhandle.{so,a,la}
|
2015-08-01 20:54:33 +02:00
|
|
|
ln -sf ../../lib/$(readlink $PKG/lib/libhandle.so.1) $PKG/usr/lib/libhandle.so
|
|
|
|
|
2018-08-25 14:15:31 +02:00
|
|
|
rm -r $PKG/usr/{share/doc,lib/xfsprogs}
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|