wok-6.x view parted/receipt @ rev 5981
Add nut
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:18:10 2010 +0200 (2010-08-13) |
parents | 1a955d2f91fd |
children | 821620a99cc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="util-linux-ng-uuid"
9 BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-debug \
23 --disable-Werror \
24 --without-readline \
25 --disable-device-mapper \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/locale
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
40 strip -s $fs/usr/lib/* 2>/dev/null
41 strip -s $fs/usr/sbin/* 2>/dev/null
42 }