wok annotate gparted/receipt @ rev 12772
busybox: enable arm build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 03:26:02 2012 +0200 (2012-05-13) |
parents | 4c0739d8ba5c |
children | 21ad69bbbfa5 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
pankso@12489 | 4 VERSION="0.12.1" |
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 |
pankso@12489 | 15 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \ |
pankso@12489 | 16 xorg-libXdamage libgiomm cairomm" |
pankso@12489 | 17 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ |
pankso@12490 | 18 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev" |
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 } |