31 lines
785 B
Plaintext
31 lines
785 B
Plaintext
# 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-ng
|
|
|
|
name=xfsprogs
|
|
version=3.1.3
|
|
release=1
|
|
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
export DEBUG=-DNDEBUG
|
|
export OPTIMIZER=$CFLAGS
|
|
|
|
# run autoconf because configure sets MAKEDEPEND
|
|
# to "/usr/bin/makedepend" instead of "gcc -MM"
|
|
autoconf
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-gettext
|
|
make
|
|
make DIST_ROOT=$PKG install install-dev
|
|
|
|
rm $PKG/lib/libhandle.{a,la,so}
|
|
ln -sf ../../lib/libhandle.so.1.0.3 $PKG/usr/lib/libhandle.so
|
|
|
|
rm -r $PKG/usr/share
|
|
}
|