wok-backports rev 26
Add: gparted
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 03 23:34:52 2014 +0100 (2014-03-03) |
parents | d4b1fccb5c8f |
children | 1fad0cb29187 |
files | gparted/receipt gparted/stuff/gparted.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gparted/receipt Mon Mar 03 23:34:52 2014 +0100 1.3 @@ -0,0 +1,55 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gparted" 1.7 +VERSION="0.17.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="GTK partition editor." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \ 1.13 +reiserfsprogs reiser4progs" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://gparted.sourceforge.net/" 1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 +CROSS="error: cannot run test program while cross compiling" 1.18 + 1.19 +DEPENDS="gtk+ libsigc++ glibmm gtkmm pangomm parted util-linux-ng-uuid \ 1.20 +xorg-libXdamage libgiomm cairomm" 1.21 +BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ 1.22 +cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-ng-uuid-dev" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + cd $src 1.28 + find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|' 1.29 + # Remove the "-v" option from the swapon/off commands. This will allow 1.30 + # gparted to play nicely with busybox. 1.31 + sed -i 's/swapoff -v/swapoff/' src/Win_GParted.cc 1.32 + sed -i 's/swapon -v/swapon/' src/Win_GParted.cc 1.33 + # Process test busybox compatible 1.34 + sed -i 's/ps -e | grep/pgrep/' gparted.in 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + --disable-scrollkeeper \ 1.38 + --disable-doc \ 1.39 + --build=$HOST_SYSTEM \ 1.40 + --host=$HOST_SYSTEM && 1.41 + make && make install 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + mkdir -p $fs/usr/share/pixmaps 1.48 + cp $install/usr/share/icons/hicolor/48x48/apps/gparted.png \ 1.49 + $fs/usr/share/pixmaps/gparted.png 1.50 + cp -a $install/usr/sbin $fs/usr 1.51 + sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted 1.52 +} 1.53 + 1.54 +# Version 0.3.7 - Binary has moved to /usr/sbin 1.55 +post_install() 1.56 +{ 1.57 + rm -f $root/usr/bin/gparted 1.58 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gparted/stuff/gparted.desktop Mon Mar 03 23:34:52 2014 +0100 2.3 @@ -0,0 +1,14 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=GParted Partition Editor 2.7 +Name[es]=Editor de particiones GParted 2.8 +Name[fi]=GParted levyosioiden muokkain 2.9 +Name[fr]=Editeur de partition GParted 2.10 +Name[hu]=GParted partÃciószerkesztÅ 2.11 +Name[it]=Editor di partizioni GParted 2.12 +Name[pt]=GParted Editor de Partições 2.13 +Name[ru]=Редактор разделов GParted 2.14 +Name[zh_CN]=GParted分区编辑工具 2.15 +Exec=tazbox su gparted 2.16 +Icon=gparted 2.17 +Categories=GTK;System;Filesystem;