wok-next view parted/receipt @ rev 1302

Up: freeradius (2.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 23 09:02:13 2008 +0000 (2008-08-23)
parents 07774420350a
children 788eb14d270a
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="1.8.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --disable-debug \
21 --disable-Werror \
22 --without-readline \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 strip -s $fs/usr/lib/* 2>/dev/null
38 strip -s $fs/usr/sbin/* 2>/dev/null
39 }