wok view gparted/receipt @ rev 21645

updated orc and orc-dev (0.4.18 -> 0.4.29)
author Hans-G?nter Theisgen
date Thu May 30 08:44:12 2019 +0100 (2019-05-30)
parents c1cf33a04d62
children 7e911016a644
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.33.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 btrfs-progs f2fs-tools hfsutils hfsprogs mdadm \
11 cryptsetup dmsetup lvm2 nilfs-utils udftools util-linux-minix exfat-utils \
12 util-linux-mkfs"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \
19 xorg-libXdamage libgiomm cairomm"
20 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
21 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
27 # Remove the "-v" option from the swapon/off commands. This will allow
28 # gparted to play nicely with busybox.
29 sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc
30 sed -i 's/swapon -v/swapon/' src/Win_GParted.cc
31 # Process test busybox compatible
32 sed -i 's/ps -e | grep/pgrep/' gparted.in
33 ./configure \
34 --prefix=/usr \
35 --disable-scrollkeeper \
36 --disable-doc \
37 --build=$HOST_SYSTEM \
38 --host=$HOST_SYSTEM &&
39 make && make install
41 cp -f $stuff/*.desktop $install/usr/share/applications/
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_files gparted gpartedbin
48 cook_copy_icons
49 }