wok-next annotate xfsprogs/receipt @ rev 9566
Up: xfsprogs to 3.1.5. Added util-linux-ng-blkid-dev to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 22:56:27 2011 +0000 (2011-04-11) |
parents | 8a15c0e7e6ee |
children | 237964c4aab0 |
rev | line source |
---|---|
pankso@1009 | 1 # SliTaz package receipt. |
pankso@1009 | 2 |
pankso@1009 | 3 PACKAGE="xfsprogs" |
slaxemulator@9566 | 4 VERSION="3.1.5" |
pankso@1009 | 5 CATEGORY="system-tools" |
pankso@1009 | 6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system" |
pankso@1009 | 7 MAINTAINER="patel@math.uga.edu" |
pascal@2406 | 8 DEPENDS="e2fsprogs" |
slaxemulator@9566 | 9 BUILD_DEPENDS="e2fsprogs-dev libtool gettext util-linux-ng-blkid-dev util-linux-ng-uuid util-linux-ng-uuid-dev" |
slaxemulator@7230 | 10 TARBALL=${PACKAGE}-${VERSION}.tar.gz |
pankso@1009 | 11 WEB_SITE="http://oss.sgi.com/projects/xfs/" |
pankso@1009 | 12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" |
pankso@1009 | 13 |
pankso@1009 | 14 # Rules to configure and make the package. |
pankso@1009 | 15 compile_rules() |
pankso@1009 | 16 { |
pankso@1009 | 17 cd $src |
pascal@1500 | 18 sed -i 's/--best -c/-9 -c/' include/buildmacros |
pascal@9345 | 19 sed -i -e 's/lt_shell_append=yes/lt_shell_append=no/' \ |
pascal@9345 | 20 -e 's/DDEBUG/DNODEBUG/' configure |
pankso@1009 | 21 ./configure \ |
pascal@1541 | 22 $CONFIGURE_ARGS || return 1 |
pascal@1541 | 23 sed -i 's/--best/-9/' doc/Makefile build/Makefile build/tar/Makefile |
pascal@1500 | 24 make && |
pankso@1009 | 25 make DIST_ROOT=$PWD/_pkg install |
slaxemulator@7230 | 26 } |
pankso@1009 | 27 |
pankso@1009 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1009 | 29 genpkg_rules() |
pankso@1009 | 30 { |
pankso@1009 | 31 mkdir -p $fs/usr/lib |
slaxemulator@7230 | 32 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@7230 | 33 cp -a $_pkg/lib $fs |
pankso@1009 | 34 cp -a $_pkg/sbin $fs |
pankso@1009 | 35 } |