wok-next annotate parted/receipt @ rev 171
Add : portmap and unfs3
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 31 22:42:51 2008 +0100 (2008-01-31) |
parents | |
children | cf22fee17710 |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
pankso@136 | 4 VERSION="1.8.8" |
pankso@136 | 5 CATEGORY="extra" |
pankso@136 | 6 SHORT_DESC="GNU parted partition editor." |
pankso@136 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@136 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@136 | 9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" |
pankso@136 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@136 | 11 |
pankso@136 | 12 # Rules to configure and make the package. |
pankso@136 | 13 compile_rules() |
pankso@136 | 14 { |
pankso@136 | 15 cd $src |
pankso@136 | 16 ./configure \ |
pankso@136 | 17 --prefix=/usr \ |
pankso@136 | 18 --infodir=/usr/share/info \ |
pankso@136 | 19 --mandir=/usr/share/man \ |
pankso@136 | 20 --disable-debug \ |
pankso@136 | 21 --disable-Werror \ |
pankso@136 | 22 --without-readline \ |
pankso@136 | 23 $CONFIGURE_ARGS |
pankso@136 | 24 make |
pankso@136 | 25 make DESTDIR=$PWD/_pkg install |
pankso@136 | 26 } |
pankso@136 | 27 |
pankso@136 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 29 genpkg_rules() |
pankso@136 | 30 { |
pankso@136 | 31 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@136 | 32 |
pankso@136 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@136 | 34 cp -a $_pkg/usr/sbin $fs/usr |
pankso@136 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@136 | 36 |
pankso@136 | 37 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@136 | 38 strip -s $fs/usr/sbin/* 2>/dev/null |
pankso@136 | 39 } |