wok-next view gparted/receipt @ rev 1778

Slim: typo in BUGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:32:51 2008 +0000 (2008-11-28)
parents c77eac4d62c2
children e759578ca1d9
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.3.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libsigc++ glibmm gtkmm parted hal"
9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs reiserfsprogs reiser4progs"
10 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev gnome-doc-utils gnome-doc-utils-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gparted.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/system-tools.html#gparted'
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --disable-scrollkeeper \
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
32 cp -a $_pkg/usr/sbin $fs/usr
33 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
34 }
36 # Version 0.3.7 - Binary has moved to /usr/sbin
37 post_install()
38 {
39 local root
40 root=$1
41 rm -f $root/usr/bin/gparted
42 }