wok view gparted/receipt @ rev 1249

Cups: add gnutls dependancy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 15:36:40 2008 +0000 (2008-08-12)
parents 583ec89d0dff
children 642e444ddcaa
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.3.8"
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"
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 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
33 }
35 # Version 0.3.7 - Binary has moved to /usr/sbin
36 post_install()
37 {
38 local root
39 root=$1
40 rm -f $root/usr/bin/gparted
41 }