wok-next view gparted/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents b19ddba309f9
children 5730b2738428
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gparted"
4 VERSION="0.31.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 WEB_SITE="https://gparted.sourceforge.io/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/xsoft/gparted.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
16 cairomm-dev pangomm-dev glibmm-dev intltool util-linux-uuid-dev"
18 CROSS="error: cannot run test program while cross compiling"
20 compile_rules() {
21 # Remove the "-v" option from the swapon/off commands.
22 # This will allow gparted to play nicely with busybox.
23 sed -i 's/swapoff -v/swapoff/; s/swapon -v/swapon/' src/Win_GParted.cc
24 # Process test busybox compatible
25 sed -i 's/ps -e | grep/pgrep/' gparted.in
26 # Remove keywords from desktop file and apply SliTaz graphical SU method
27 sed -i '/^_Keywords=/d; s|@gksuprog@|tazbox su|' gparted.desktop.in.in
29 ./configure \
30 --disable-scrollkeeper \
31 --disable-doc \
32 $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make install
36 }
38 genpkg_rules() {
39 copy gparted gpartedbin
40 DEPENDS="atkmm glib glibmm gtk+ gtkmm libsigc++ pangomm parted \
41 util-linux-uuid"
42 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
43 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs \
44 util-linux-mkfs util-linux-misc lvm2 cryptsetup dmsetup nilfs-utils xfsdump"
45 }