wok-next view gparted/receipt @ rev 1597
openssh: fix WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 08:59:06 2008 +0000 (2008-10-19) |
parents | 642e444ddcaa |
children | c77eac4d62c2 |
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 xfsprogs reiserfsprogs"
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 }