wok-next annotate parted/receipt @ rev 5662
Up: parted (2.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 02:49:35 2010 +0000 (2010-05-30) |
parents | aaaf48e031a4 |
children | 7c0c08ab9479 |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
devl547@5662 | 4 VERSION="2.3" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@136 | 6 SHORT_DESC="GNU parted partition editor." |
pankso@136 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4052 | 8 DEPENDS="util-linux-ng-uuid" |
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 \ |
slaxemulator@5373 | 25 --disable-device-mapper \ |
pascal@1451 | 26 $CONFIGURE_ARGS && |
pascal@1451 | 27 make && |
pankso@136 | 28 make DESTDIR=$PWD/_pkg install |
pankso@136 | 29 } |
pankso@136 | 30 |
pankso@136 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 32 genpkg_rules() |
pankso@136 | 33 { |
pankso@136 | 34 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@136 | 35 |
pankso@136 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@136 | 37 cp -a $_pkg/usr/sbin $fs/usr |
pankso@136 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@136 | 39 |
pankso@136 | 40 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@136 | 41 strip -s $fs/usr/sbin/* 2>/dev/null |
pankso@136 | 42 } |