wok view gparted/receipt @ rev 20477

Rebuild perl in 32 bits
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 17 20:44:06 2018 +0200 (2018-10-17)
parents 47a198036878
children c1cf33a04d62
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.32.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"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://gparted.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 CROSS="error: cannot run test program while cross compiling"
17 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \
18 xorg-libXdamage libgiomm cairomm"
19 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
20 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
26 # Remove the "-v" option from the swapon/off commands. This will allow
27 # gparted to play nicely with busybox.
28 sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc
29 sed -i 's/swapon -v/swapon/' src/Win_GParted.cc
30 # Process test busybox compatible
31 sed -i 's/ps -e | grep/pgrep/' gparted.in
32 ./configure \
33 --prefix=/usr \
34 --disable-scrollkeeper \
35 --disable-doc \
36 --build=$HOST_SYSTEM \
37 --host=$HOST_SYSTEM &&
38 make && make install
40 cp -f $stuff/*.desktop $install/usr/share/applications/
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_files gparted gpartedbin
47 cook_copy_icons
48 }