wok-current view xfsprogs/receipt @ rev 1535
udev: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 19:36:57 2008 +0000 (2008-10-09) |
parents | 5d603254a233 |
children | 7ae8a3f4e6a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfsprogs"
4 VERSION="2.10.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system"
7 MAINTAINER="patel@math.uga.edu"
8 BUILD_DEPENDS="e2fsprogs-dev libtool"
9 TARBALL=${PACKAGE}_${VERSION}-1.tar.gz
10 WEB_SITE="http://oss.sgi.com/projects/xfs/"
11 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE-2.9.8 $PACKAGE-$VERSION 2>/dev/null
17 cd $src
18 sed -i 's/--best -c/-9 -c/' include/buildmacros
19 ./configure \
20 --prefix=/usr \
21 --sbindir=/sbin \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
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/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/sbin $fs
35 }