wok-next annotate gparted/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | b19ddba309f9 |
children | 5730b2738428 |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
al@20513 | 4 VERSION="0.31.0" |
pankso@190 | 5 CATEGORY="system-tools" |
al@19490 | 6 SHORT_DESC="A partition editor to graphically manage disk partitions" |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20513 | 9 WEB_SITE="https://gparted.sourceforge.io/" |
al@20513 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 |
pankso@12489 | 15 BUILD_DEPENDS="gtk+-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 CROSS="error: cannot run test program while cross compiling" |
al@19816 | 19 |
al@20513 | 20 compile_rules() { |
al@19816 | 21 # Remove the "-v" option from the swapon/off commands. |
al@19816 | 22 # This will allow gparted to play nicely with busybox. |
al@19816 | 23 sed -i 's/swapoff -v/swapoff/; s/swapon -v/swapon/' src/Win_GParted.cc |
mojo@15757 | 24 # Process test busybox compatible |
mojo@15757 | 25 sed -i 's/ps -e | grep/pgrep/' gparted.in |
al@19816 | 26 # Remove keywords from desktop file and apply SliTaz graphical SU method |
al@19816 | 27 sed -i '/^_Keywords=/d; s|@gksuprog@|tazbox su|' gparted.desktop.in.in |
al@19816 | 28 |
pankso@137 | 29 ./configure \ |
erjo@1446 | 30 --disable-scrollkeeper \ |
erjo@1815 | 31 --disable-doc \ |
al@20513 | 32 $CONFIGURE_ARGS && |
al@20519 | 33 fix libtool && |
al@20534 | 34 make && |
al@20534 | 35 make install |
pankso@137 | 36 } |
pankso@137 | 37 |
al@20513 | 38 genpkg_rules() { |
al@19783 | 39 copy gparted gpartedbin |
al@20519 | 40 DEPENDS="atkmm glib glibmm gtk+ gtkmm libsigc++ pangomm parted \ |
al@20519 | 41 util-linux-uuid" |
al@19816 | 42 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \ |
al@19816 | 43 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs \ |
al@19816 | 44 util-linux-mkfs util-linux-misc lvm2 cryptsetup dmsetup nilfs-utils xfsdump" |
pankso@137 | 45 } |