wok view gparted/receipt @ rev 9210
gphoto2: typo in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 08:38:29 2011 +0100 (2011-03-11) |
parents | 985816e63a6c |
children | 61a57d0ac8d1 |
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --disable-scrollkeeper \
24 --disable-doc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gparted.png \
35 $fs/usr/share/pixmaps/gparted.png
36 cp -a $_pkg/usr/sbin $fs/usr
37 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
38 }
40 # Version 0.3.7 - Binary has moved to /usr/sbin
41 post_install()
42 {
43 local root
44 root=$1
45 rm -f $root/usr/bin/gparted
46 }