2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for XFS
|
2018-01-28 17:54:37 +01:00
|
|
|
# URL: http://www.xfs.org
|
2015-08-01 20:54:33 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2018-11-10 11:46:54 +01:00
|
|
|
# Depends on: util-linux readline
|
2015-08-01 20:54:33 +02:00
|
|
|
|
|
|
|
name=xfsprogs
|
2019-08-10 18:41:06 +02:00
|
|
|
version=5.2.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
|
|
|
--enable-readline \
|
|
|
|
--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
|
|
|
}
|