2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for XFS
|
2021-03-13 14:18:47 +01:00
|
|
|
# URL: https://xfs.org/index.php/Main_Page
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: libdevmapper inih
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=xfsprogs
|
2021-03-13 14:18:47 +01:00
|
|
|
version=5.11.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() {
|
2021-03-13 14:18:47 +01:00
|
|
|
cd $name-$version
|
2015-08-01 20:54:33 +02:00
|
|
|
|
2021-03-13 14:18:47 +01:00
|
|
|
make configure
|
2015-08-01 20:54:33 +02:00
|
|
|
|
2021-03-13 14:18:47 +01:00
|
|
|
export DEBUG=-DNDEBUG
|
|
|
|
export OPTIMIZER=$CFLAGS
|
2015-08-01 20:54:33 +02:00
|
|
|
|
2021-03-13 14:18:47 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-gettext \
|
|
|
|
--disable-libicu
|
|
|
|
make
|
|
|
|
make -j1 DIST_ROOT=$PKG install install-dev
|
2015-08-01 20:54:33 +02:00
|
|
|
|
2021-03-13 14:18:47 +01:00
|
|
|
rm $PKG/lib/libhandle.{so,a,la}
|
|
|
|
ln -sf ../../lib/$(readlink $PKG/lib/libhandle.so.1) $PKG/usr/lib/libhandle.so
|
2015-08-01 20:54:33 +02:00
|
|
|
|
2021-03-13 14:18:47 +01:00
|
|
|
rm -r $PKG/usr/{share/doc,lib/xfsprogs}
|
2015-08-01 20:54:33 +02:00
|
|
|
}
|