2015-08-01 20:54:33 +02:00
|
|
|
# Description: Filesystem utilities for XFS
|
|
|
|
# URL: http://oss.sgi.com/projects/xfs/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: util-linux
|
|
|
|
|
|
|
|
name=xfsprogs
|
2017-07-22 02:43:17 +02:00
|
|
|
version=4.12.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 \
|
|
|
|
--disable-gettext
|
|
|
|
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
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
}
|