wok annotate 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 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
pankso@1048 | 4 VERSION="0.3.8" |
pankso@190 | 5 CATEGORY="system-tools" |
pankso@137 | 6 SHORT_DESC="GTK partition editor." |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@793 | 8 DEPENDS="gtk+ libsigc++ glibmm gtkmm parted hal" |
pankso@190 | 9 SUGGESTED="dosfstools ntfs-3g ntfprogs" |
pankso@190 | 10 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev" |
pankso@137 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@137 | 12 WEB_SITE="http://gparted.sourceforge.net/" |
pankso@137 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@190 | 14 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/system-tools.html#gparted' |
pankso@137 | 15 |
pankso@137 | 16 # Rules to configure and make the package. |
pankso@137 | 17 compile_rules() |
pankso@137 | 18 { |
pankso@137 | 19 cd $src |
pankso@137 | 20 ./configure \ |
pankso@137 | 21 --prefix=/usr \ |
pankso@137 | 22 $CONFIGURE_ARGS |
pankso@137 | 23 make |
pankso@137 | 24 make DESTDIR=$PWD/_pkg install |
pankso@137 | 25 } |
pankso@137 | 26 |
pankso@137 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 28 genpkg_rules() |
pankso@137 | 29 { |
pankso@190 | 30 mkdir -p $fs/usr |
pankso@793 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pankso@827 | 32 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted |
pankso@137 | 33 } |
pankso@793 | 34 |
pankso@793 | 35 # Version 0.3.7 - Binary has moved to /usr/sbin |
pankso@793 | 36 post_install() |
pankso@793 | 37 { |
pankso@793 | 38 local root |
pankso@793 | 39 root=$1 |
pankso@793 | 40 rm -f $root/usr/bin/gparted |
pankso@793 | 41 } |