wok-current annotate gparted/receipt @ rev 25127
updated arpwatch (2.1a15 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:41:22 2022 +0100 (2022-06-28) |
parents | 02335b48dae1 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gparted" |
pascal@20581 | 4 VERSION="0.33.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 \ |
pascal@20429 | 10 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs mdadm \ |
pascal@20620 | 11 cryptsetup dmsetup lvm2 nilfs-utils udftools util-linux-minix exfat-utils \ |
pascal@20620 | 12 util-linux-mkfs" |
pascal@18838 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 14 WEB_SITE="http://gparted.sourceforge.net/" |
pankso@137 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@10392 | 16 CROSS="error: cannot run test program while cross compiling" |
pankso@137 | 17 |
pankso@12489 | 18 DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-uuid \ |
pankso@12489 | 19 xorg-libXdamage libgiomm cairomm" |
pankso@12489 | 20 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ |
pankso@12490 | 21 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev" |
slaxemulator@11190 | 22 |
pascal@24069 | 23 current_version() |
pascal@24069 | 24 { |
pascal@24069 | 25 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24069 | 26 sed '/gparted.gparted-/!d;s|.*gparted-||;s|/.*||;q' |
pascal@24069 | 27 } |
pascal@24069 | 28 |
pankso@137 | 29 # Rules to configure and make the package. |
pankso@137 | 30 compile_rules() |
pankso@137 | 31 { |
pascal@13138 | 32 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|' |
samuel_trassare@13529 | 33 # Remove the "-v" option from the swapon/off commands. This will allow |
samuel_trassare@13529 | 34 # gparted to play nicely with busybox. |
samuel_trassare@13529 | 35 sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc |
samuel_trassare@13529 | 36 sed -i 's/swapon -v/swapon/' src/Win_GParted.cc |
mojo@15757 | 37 # Process test busybox compatible |
mojo@15757 | 38 sed -i 's/ps -e | grep/pgrep/' gparted.in |
pankso@137 | 39 ./configure \ |
pankso@137 | 40 --prefix=/usr \ |
erjo@1446 | 41 --disable-scrollkeeper \ |
erjo@1815 | 42 --disable-doc \ |
pankso@10392 | 43 --build=$HOST_SYSTEM \ |
pankso@10392 | 44 --host=$HOST_SYSTEM && |
pankso@10392 | 45 make && make install |
al@19490 | 46 |
al@19490 | 47 cp -f $stuff/*.desktop $install/usr/share/applications/ |
pankso@137 | 48 } |
pankso@137 | 49 |
pankso@137 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 51 genpkg_rules() |
pankso@137 | 52 { |
al@19490 | 53 cook_copy_files gparted gpartedbin |
al@19490 | 54 cook_copy_icons |
pankso@137 | 55 } |