wok-current view gparted/receipt @ rev 11037

slock: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:26:33 2011 +0000 (2011-10-16)
parents 531ed7e7d847
children ea35c13a1842
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted hal util-linux-ng-uuid xorg-libXdamage libgiomm cairomm"
9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
10 reiserfsprogs reiser4progs"
11 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm glibmm-dev gtkmm gtkmm-dev parted-dev \
12 cairomm cairomm-dev pangomm pangomm-dev libgiomm libgiomm-dev intltool parted"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://gparted.sourceforge.net/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 CROSS="error: cannot run test program while cross compiling"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --disable-scrollkeeper \
25 --disable-doc \
26 --build=$HOST_SYSTEM \
27 --host=$HOST_SYSTEM &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/pixmaps
35 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \
36 $fs/usr/share/pixmaps/gparted.png
37 cp -a $_pkg/usr/sbin $fs/usr
38 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
39 }
41 # Version 0.3.7 - Binary has moved to /usr/sbin
42 post_install()
43 {
44 local root
45 root=$1
46 rm -f $root/usr/bin/gparted
47 }