wok view xfsprogs/receipt @ rev 8792
Fix compile_rules() for gitmail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:44:49 2011 +0100 (2011-02-22) |
parents | 74d9e193ac36 |
children | 04dc5e2cbe54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfsprogs"
4 VERSION="3.1.4"
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-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 ./configure \
20 $CONFIGURE_ARGS || return 1
21 sed -i 's/--best/-9/' doc/Makefile build/Makefile build/tar/Makefile
22 make &&
23 make DIST_ROOT=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/lib $fs
32 cp -a $_pkg/sbin $fs
33 }