wok-current view parted/receipt @ rev 1717
Up tazpkg (2.5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 17 17:59:08 2008 +0000 (2008-11-17) |
parents | cf22fee17710 |
children | 89e187b7d309 |
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 BUILD_DEPENDS="e2fsprogs-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --disable-debug \
22 --disable-Werror \
23 --without-readline \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/locale
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 strip -s $fs/usr/lib/* 2>/dev/null
39 strip -s $fs/usr/sbin/* 2>/dev/null
40 }