wok view gparted/receipt @ rev 19600

Up: libarchive (3.2.2)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 01 18:15:28 2017 +0000 (2017-01-01)
parents 5b9877f5c784
children da6d56ae54a6
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.27.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A partition editor to graphically manage disk partitions"
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.gz"
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
39 cp -f $stuff/*.desktop $install/usr/share/applications/
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_files gparted gpartedbin
46 cook_copy_icons
47 }