wok-6.x view gparted/receipt @ rev 18825
Add pyvim
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jan 17 09:32:09 2016 +0000 (2016-01-17) |
parents | 55544eebb5d6 |
children | 0fb8ea2ee933 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.24.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
10 reiserfsprogs reiser4progs"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gparted.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 CROSS="error: cannot run test program while cross compiling"
16 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \
17 xorg-libXdamage libgiomm cairomm"
18 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
19 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
25 # Remove the "-v" option from the swapon/off commands. This will allow
26 # gparted to play nicely with busybox.
27 sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc
28 sed -i 's/swapon -v/swapon/' src/Win_GParted.cc
29 # Process test busybox compatible
30 sed -i 's/ps -e | grep/pgrep/' gparted.in
31 ./configure \
32 --prefix=/usr \
33 --disable-scrollkeeper \
34 --disable-doc \
35 --build=$HOST_SYSTEM \
36 --host=$HOST_SYSTEM &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/pixmaps
44 cp $install/usr/share/icons/hicolor/48x48/apps/gparted.png \
45 $fs/usr/share/pixmaps/gparted.png
46 cp -a $install/usr/sbin $fs/usr
47 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
48 }
50 # Version 0.3.7 - Binary has moved to /usr/sbin
51 post_install()
52 {
53 rm -f $root/usr/bin/gparted 2> /dev/null
54 }