description="Filesystem utilities for XFS." packager="CRUX System Team " maintainer="Lukc " url="http://oss.sgi.com/projects/xfs/" depends=(util-linux-ng) name=xfsprogs version=3.1.4 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; ./configure \ ${CBUILD:+--build=${CBUILD}} \ ${CHOST:+--host=${CHOST}} \ --prefix=$prefix \ --mandir=$mandir \ $(use_enable nls gettext) \ ${opts[@]}; make; make DIST_ROOT=$PKG install install-dev; rm $PKG/lib/libhandle.{a,la,so}; ln -sf ../../lib/libhandle.so.1.0.3 $PKG$prefix/lib/libhandle.so; }