wok-next annotate gparted/receipt @ rev 19784
Build glib static libs and make static desktop-file-validate (for cookutils compressor), remake optipng & pngquant: use sbin for static binaries. Up 915resolution, Qt4-qca-ossl, R, accessx, advancecomp, aiksaurus, airpwn, amsn for auto-patching; lowercase libIDL, ORBit2 names.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 19 04:02:32 2017 +0300 (2017-06-19) |
parents | 4b55a51aefa5 |
children | 0e8dadf052b9 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
al@19490 | 4 VERSION="0.27.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" |
pankso@3822 | 9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \ |
pankso@3822 | 10 reiserfsprogs reiser4progs" |
pascal@18838 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 12 WEB_SITE="http://gparted.sourceforge.net/" |
pankso@137 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@10392 | 14 CROSS="error: cannot run test program while cross compiling" |
pankso@137 | 15 |
pankso@12489 | 16 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \ |
pankso@12489 | 17 xorg-libXdamage libgiomm cairomm" |
pankso@12489 | 18 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ |
pankso@12490 | 19 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev" |
slaxemulator@11190 | 20 |
pankso@137 | 21 # Rules to configure and make the package. |
pankso@137 | 22 compile_rules() |
pankso@137 | 23 { |
pascal@13138 | 24 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|' |
samuel_trassare@13529 | 25 # Remove the "-v" option from the swapon/off commands. This will allow |
samuel_trassare@13529 | 26 # gparted to play nicely with busybox. |
samuel_trassare@13529 | 27 sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc |
samuel_trassare@13529 | 28 sed -i 's/swapon -v/swapon/' src/Win_GParted.cc |
mojo@15757 | 29 # Process test busybox compatible |
mojo@15757 | 30 sed -i 's/ps -e | grep/pgrep/' gparted.in |
pankso@137 | 31 ./configure \ |
pankso@137 | 32 --prefix=/usr \ |
erjo@1446 | 33 --disable-scrollkeeper \ |
erjo@1815 | 34 --disable-doc \ |
pankso@10392 | 35 --build=$HOST_SYSTEM \ |
pankso@10392 | 36 --host=$HOST_SYSTEM && |
pankso@10392 | 37 make && make install |
al@19490 | 38 |
al@19490 | 39 cp -f $stuff/*.desktop $install/usr/share/applications/ |
pankso@137 | 40 } |
pankso@137 | 41 |
pankso@137 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 43 genpkg_rules() |
pankso@137 | 44 { |
al@19783 | 45 copy gparted gpartedbin |
al@19490 | 46 cook_copy_icons |
pankso@137 | 47 } |