wok view gparted/receipt @ rev 13220

Up python-httplib2 (0.7.4)
author Paul Issott <paul@slitaz.org>
date Sat Aug 11 22:48:41 2012 +0100 (2012-08-11)
parents 64a6a3c4dd1b
children 1d121115376c
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.12.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
9 reiserfsprogs reiser4progs"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gparted.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CROSS="error: cannot run test program while cross compiling"
15 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \
16 xorg-libXdamage libgiomm cairomm"
17 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
18 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
25 ./configure \
26 --prefix=/usr \
27 --disable-scrollkeeper \
28 --disable-doc \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \
39 $fs/usr/share/pixmaps/gparted.png
40 cp -a $_pkg/usr/sbin $fs/usr
41 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
42 }
44 # Version 0.3.7 - Binary has moved to /usr/sbin
45 post_install()
46 {
47 local root
48 root=$1
49 rm -f $root/usr/bin/gparted
50 }