wok-4.x annotate gparted/receipt @ rev 793

Up: gparted (0.3.7) - Now depends on HAL
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 15 20:50:50 2008 +0200 (2008-05-15)
parents eb4e6a1af180
children 583ec89d0dff
rev   line source
pankso@137 1 # SliTaz package receipt.
pankso@137 2
pankso@137 3 PACKAGE="gparted"
pankso@793 4 VERSION="0.3.7"
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@137 32 }
pankso@793 33
pankso@793 34 # Version 0.3.7 - Binary has moved to /usr/sbin
pankso@793 35 post_install()
pankso@793 36 {
pankso@793 37 local root
pankso@793 38 root=$1
pankso@793 39 rm -f $root/usr/bin/gparted
pankso@793 40 }