wok annotate gparted/receipt @ rev 4982
libical-dev: fix include path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 09:54:36 2010 +0100 (2010-02-25) |
parents | 0588160a6878 |
children | 5a98a1457110 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
pankso@3822 | 4 VERSION="0.4.6" |
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" |
pankso@3822 | 11 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ |
pankso@3822 | 12 cairomm-dev cairomm pangomm-dev libgiomm-dev" |
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@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 { |
pascal@1880 | 33 mkdir -p $fs/usr/share/pixmaps |
pascal@1880 | 34 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \ |
pascal@1880 | 35 $fs/usr/share/pixmaps/gparted.png |
pankso@793 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pankso@827 | 37 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted |
pankso@137 | 38 } |
pankso@793 | 39 |
pankso@793 | 40 # Version 0.3.7 - Binary has moved to /usr/sbin |
pankso@793 | 41 post_install() |
pankso@793 | 42 { |
pankso@793 | 43 local root |
pankso@793 | 44 root=$1 |
pankso@793 | 45 rm -f $root/usr/bin/gparted |
pankso@793 | 46 } |