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