wok-next annotate 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 |
rev | line source |
---|---|
pankso@1009 | 1 # SliTaz package receipt. |
pankso@1009 | 2 |
pankso@1009 | 3 PACKAGE="xfsprogs" |
pascal@1500 | 4 VERSION="2.10.1" |
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" |
pankso@1009 | 8 BUILD_DEPENDS="e2fsprogs-dev libtool" |
pascal@1500 | 9 TARBALL=${PACKAGE}_${VERSION}-1.tar.gz |
pankso@1009 | 10 WEB_SITE="http://oss.sgi.com/projects/xfs/" |
pankso@1009 | 11 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" |
pankso@1009 | 12 |
pankso@1009 | 13 # Rules to configure and make the package. |
pankso@1009 | 14 compile_rules() |
pankso@1009 | 15 { |
pankso@1009 | 16 mv $PACKAGE-2.9.8 $PACKAGE-$VERSION 2>/dev/null |
pankso@1009 | 17 cd $src |
pascal@1500 | 18 sed -i 's/--best -c/-9 -c/' include/buildmacros |
pankso@1009 | 19 ./configure \ |
pankso@1009 | 20 --prefix=/usr \ |
pankso@1009 | 21 --sbindir=/sbin \ |
pankso@1009 | 22 --mandir=/usr/share/man \ |
pascal@1500 | 23 $CONFIGURE_ARGS && |
pascal@1500 | 24 make && |
pankso@1009 | 25 make DIST_ROOT=$PWD/_pkg install |
pankso@1009 | 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 |
pankso@1009 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@1009 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1009 | 34 cp -a $_pkg/sbin $fs |
pankso@1009 | 35 } |