wok annotate gparted/receipt @ rev 1484

Update BUILD_DEPENDS for galculator kino mpd partimage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 22:08:41 2008 +0000 (2008-10-04)
parents 46ad30cc65a1
children 6fde1a2d66ee
rev   line source
pankso@137 1 # SliTaz package receipt.
pankso@137 2
pankso@137 3 PACKAGE="gparted"
erjo@1446 4 VERSION="0.3.9"
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"
erjo@1446 10 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev gnome-doc-utils gnome-doc-utils-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 \
erjo@1446 22 --disable-scrollkeeper \
erjo@1446 23 $CONFIGURE_ARGS &&
erjo@1446 24 make &&
pankso@137 25 make DESTDIR=$PWD/_pkg install
pankso@137 26 }
pankso@137 27
pankso@137 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@137 29 genpkg_rules()
pankso@137 30 {
pankso@190 31 mkdir -p $fs/usr
pankso@793 32 cp -a $_pkg/usr/sbin $fs/usr
pankso@827 33 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
pankso@137 34 }
pankso@793 35
pankso@793 36 # Version 0.3.7 - Binary has moved to /usr/sbin
pankso@793 37 post_install()
pankso@793 38 {
pankso@793 39 local root
pankso@793 40 root=$1
pankso@793 41 rm -f $root/usr/bin/gparted
pankso@793 42 }