wok-next annotate gparted/receipt @ rev 1815

Up: gparted to 0.4.1, fix BUILD_DEPENDS and disable doc build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 05 15:04:32 2008 +0100 (2008-12-05)
parents 33a264004dde
children 505478053dd0
rev   line source
pankso@137 1 # SliTaz package receipt.
pankso@137 2
pankso@137 3 PACKAGE="gparted"
erjo@1815 4 VERSION="0.4.1"
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"
pascal@1691 9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs reiserfsprogs reiser4progs"
erjo@1815 10 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev
erjo@1815 11 cairomm-dev"
pankso@137 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@137 13 WEB_SITE="http://gparted.sourceforge.net/"
pankso@137 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@190 15 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/system-tools.html#gparted'
pankso@137 16
pankso@137 17 # Rules to configure and make the package.
pankso@137 18 compile_rules()
pankso@137 19 {
pankso@137 20 cd $src
pankso@137 21 ./configure \
pankso@137 22 --prefix=/usr \
erjo@1446 23 --disable-scrollkeeper \
erjo@1815 24 --disable-doc \
erjo@1446 25 $CONFIGURE_ARGS &&
erjo@1446 26 make &&
pankso@137 27 make DESTDIR=$PWD/_pkg install
pankso@137 28 }
pankso@137 29
pankso@137 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@137 31 genpkg_rules()
pankso@137 32 {
pankso@190 33 mkdir -p $fs/usr
pankso@793 34 cp -a $_pkg/usr/sbin $fs/usr
pankso@827 35 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
pankso@137 36 }
pankso@793 37
pankso@793 38 # Version 0.3.7 - Binary has moved to /usr/sbin
pankso@793 39 post_install()
pankso@793 40 {
pankso@793 41 local root
pankso@793 42 root=$1
pankso@793 43 rm -f $root/usr/bin/gparted
pankso@793 44 }