wok annotate gparted/receipt @ rev 10987

Up: libevent to 2.0.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 12 14:15:04 2011 +0000 (2011-10-12)
parents 531ed7e7d847
children ea35c13a1842
rev   line source
pankso@137 1 # SliTaz package receipt.
pankso@137 2
pankso@137 3 PACKAGE="gparted"
slaxemulator@8675 4 VERSION="0.8.0"
pankso@190 5 CATEGORY="system-tools"
pankso@137 6 SHORT_DESC="GTK partition editor."
pankso@137 7 MAINTAINER="pankso@slitaz.org"
erjo@4745 8 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted hal util-linux-ng-uuid xorg-libXdamage libgiomm cairomm"
pankso@3822 9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
pankso@3822 10 reiserfsprogs reiser4progs"
slaxemulator@5416 11 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm glibmm-dev gtkmm gtkmm-dev parted-dev \
slaxemulator@6187 12 cairomm cairomm-dev pangomm pangomm-dev libgiomm libgiomm-dev intltool parted"
pankso@137 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@137 14 WEB_SITE="http://gparted.sourceforge.net/"
pankso@137 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@10392 16 CROSS="error: cannot run test program while cross compiling"
pankso@137 17
pankso@137 18 # Rules to configure and make the package.
pankso@137 19 compile_rules()
pankso@137 20 {
pankso@137 21 cd $src
pankso@137 22 ./configure \
pankso@137 23 --prefix=/usr \
erjo@1446 24 --disable-scrollkeeper \
erjo@1815 25 --disable-doc \
pankso@10392 26 --build=$HOST_SYSTEM \
pankso@10392 27 --host=$HOST_SYSTEM &&
pankso@10392 28 make && make install
pankso@137 29 }
pankso@137 30
pankso@137 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@137 32 genpkg_rules()
pankso@137 33 {
pascal@1880 34 mkdir -p $fs/usr/share/pixmaps
pascal@1880 35 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \
pascal@1880 36 $fs/usr/share/pixmaps/gparted.png
pankso@793 37 cp -a $_pkg/usr/sbin $fs/usr
pankso@827 38 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
pankso@137 39 }
pankso@793 40
pankso@793 41 # Version 0.3.7 - Binary has moved to /usr/sbin
pankso@793 42 post_install()
pankso@793 43 {
pankso@793 44 local root
pankso@793 45 root=$1
pankso@793 46 rm -f $root/usr/bin/gparted
pankso@793 47 }