wok-current view parted/receipt @ rev 3478
get-softmodem-driver: packages are now saved in tazwok packages_repository
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Wed Jun 17 09:49:44 2009 +0200 (2009-06-17) |
parents | 788eb14d270a |
children | 0588160a6878 |
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 DEPENDS="libuuid"
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 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/locale
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 strip -s $fs/usr/lib/* 2>/dev/null
40 strip -s $fs/usr/sbin/* 2>/dev/null
41 }