wok-stable annotate parted/receipt @ rev 1093
Add linux-source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 17 09:13:52 2008 +0000 (2008-07-17) |
parents | 07774420350a |
children | 788eb14d270a |
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@211 | 5 CATEGORY="system-tools" |
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 } |