wok-6.x view xfsprogs/receipt @ rev 10285

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