wok-next view gparted/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 400dfee62496
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gparted.sourceforge.io/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/xsoft/gparted.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gtk2-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
16 cairomm-dev pangomm-dev glibmm-dev intltool util-linux-uuid-dev"
18 compile_rules() {
19 # Remove the "-v" option from the swapon/off commands.
20 # This will allow gparted to play nicely with busybox.
21 sed -i 's/swapoff -v/swapoff/; s/swapon -v/swapon/' src/Win_GParted.cc
22 # Process test busybox compatible
23 sed -i 's/ps -e | grep/pgrep/' gparted.in
24 # Remove keywords from desktop file and apply SliTaz graphical SU method
25 sed -i '/^_Keywords=/d; s|@gksuprog@|tazbox su|' gparted.desktop.in.in
27 ./configure \
28 --disable-scrollkeeper \
29 --disable-doc \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 copy gparted gpartedbin
38 DEPENDS="atkmm glib glibmm gtk2 gtkmm libsigc++ pangomm parted \
39 util-linux-uuid"
40 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
41 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs \
42 util-linux-mkfs util-linux-misc lvm2 cryptsetup dmsetup nilfs-utils xfsdump"
43 }