wok-6.x view gparted/receipt @ rev 1498
Up lsscsi (0.21)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 13:10:07 2008 +0000 (2008-10-05) |
parents | 46ad30cc65a1 |
children | 6fde1a2d66ee |
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="dosfstools ntfs-3g ntfprogs"
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 }