# SliTaz package receipt. PACKAGE="xfsprogs" VERSION="3.1.7" CATEGORY="system-tools" SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system" MAINTAINER="patel@math.uga.edu" DEPENDS="e2fsprogs" BUILD_DEPENDS="e2fsprogs-dev libtool gettext util-linux-ng-blkid-dev util-linux-ng-uuid util-linux-ng-uuid-dev" TARBALL=${PACKAGE}-${VERSION}.tar.gz WEB_SITE="http://oss.sgi.com/projects/xfs/" WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's/--best -c/-9 -c/' include/buildmacros sed -i -e 's/lt_shell_append=yes/lt_shell_append=no/' \ -e 's/DDEBUG/DNODEBUG/' configure ./configure \ $CONFIGURE_ARGS || return 1 sed -i 's/--best/-9/' doc/Makefile Makefile make && make DIST_ROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/lib $fs cp -a $_pkg/sbin $fs }