wok-4.x view gparted/receipt @ rev 12070
transmission: fix bdeps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 03:35:40 2012 +0100 (2012-03-09) |
parents | 61a57d0ac8d1 |
children | b39c7cbf4f1a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.10.0"
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-ng-uuid xorg-libXdamage \
16 libgiomm cairomm"
17 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm glibmm-dev gtkmm gtkmm-dev parted-dev \
18 cairomm cairomm-dev pangomm pangomm-dev libgiomm libgiomm-dev intltool parted"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --disable-scrollkeeper \
27 --disable-doc \
28 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \
38 $fs/usr/share/pixmaps/gparted.png
39 cp -a $_pkg/usr/sbin $fs/usr
40 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
41 }
43 # Version 0.3.7 - Binary has moved to /usr/sbin
44 post_install()
45 {
46 local root
47 root=$1
48 rm -f $root/usr/bin/gparted
49 }