wok view parted/receipt @ rev 5449

linmodem-intel-536ep: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 14:12:43 2010 +0200 (2010-05-05)
parents 0588160a6878
children 1a955d2f91fd
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="2.2"
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"
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 }