wok-next annotate 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
rev   line source
al@19816 1 # SliTaz package receipt v2.
pankso@137 2
pankso@137 3 PACKAGE="gparted"
al@20940 4 VERSION="0.32.0"
pankso@190 5 CATEGORY="system-tools"
al@19490 6 SHORT_DESC="A partition editor to graphically manage disk partitions"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20513 9 WEB_SITE="https://gparted.sourceforge.io/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/xsoft/gparted.html"
pankso@137 11
al@19816 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19816 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@19816 14
al@21017 15 BUILD_DEPENDS="gtk2-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \
al@20513 16 cairomm-dev pangomm-dev glibmm-dev intltool util-linux-uuid-dev"
slaxemulator@11190 17
al@20513 18 compile_rules() {
al@19816 19 # Remove the "-v" option from the swapon/off commands.
al@19816 20 # This will allow gparted to play nicely with busybox.
al@19816 21 sed -i 's/swapoff -v/swapoff/; s/swapon -v/swapon/' src/Win_GParted.cc
mojo@15757 22 # Process test busybox compatible
mojo@15757 23 sed -i 's/ps -e | grep/pgrep/' gparted.in
al@19816 24 # Remove keywords from desktop file and apply SliTaz graphical SU method
al@19816 25 sed -i '/^_Keywords=/d; s|@gksuprog@|tazbox su|' gparted.desktop.in.in
al@19816 26
pankso@137 27 ./configure \
erjo@1446 28 --disable-scrollkeeper \
erjo@1815 29 --disable-doc \
al@20513 30 $CONFIGURE_ARGS &&
al@20519 31 fix libtool &&
al@20534 32 make &&
al@20534 33 make install
pankso@137 34 }
pankso@137 35
al@20513 36 genpkg_rules() {
al@19783 37 copy gparted gpartedbin
al@21017 38 DEPENDS="atkmm glib glibmm gtk2 gtkmm libsigc++ pangomm parted \
al@20519 39 util-linux-uuid"
al@19816 40 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \
al@19816 41 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs \
al@19816 42 util-linux-mkfs util-linux-misc lvm2 cryptsetup dmsetup nilfs-utils xfsdump"
pankso@137 43 }