wok-current annotate parted/receipt @ rev 3458
Up: libphoto2-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Jun 15 15:16:14 2009 +0000 (2009-06-15) |
parents | 788eb14d270a |
children | 0588160a6878 |
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" |
pascal@2457 | 8 DEPENDS="libuuid" |
pascal@1451 | 9 BUILD_DEPENDS="e2fsprogs-dev" |
pankso@136 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@136 | 11 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" |
pankso@136 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@136 | 13 |
pankso@136 | 14 # Rules to configure and make the package. |
pankso@136 | 15 compile_rules() |
pankso@136 | 16 { |
pankso@136 | 17 cd $src |
pankso@136 | 18 ./configure \ |
pankso@136 | 19 --prefix=/usr \ |
pankso@136 | 20 --infodir=/usr/share/info \ |
pankso@136 | 21 --mandir=/usr/share/man \ |
pankso@136 | 22 --disable-debug \ |
pankso@136 | 23 --disable-Werror \ |
pankso@136 | 24 --without-readline \ |
pascal@1451 | 25 $CONFIGURE_ARGS && |
pascal@1451 | 26 make && |
pankso@136 | 27 make DESTDIR=$PWD/_pkg install |
pankso@136 | 28 } |
pankso@136 | 29 |
pankso@136 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 31 genpkg_rules() |
pankso@136 | 32 { |
pankso@136 | 33 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@136 | 34 |
pankso@136 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@136 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pankso@136 | 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@136 | 38 |
pankso@136 | 39 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@136 | 40 strip -s $fs/usr/sbin/* 2>/dev/null |
pankso@136 | 41 } |