wok-6.x annotate spacefm/receipt @ rev 13497
Up: spacefm (0.8.0) With an autostart desktop file to replace pcmanfm desktop handler and can automount media using the kernel polling (no udisks or gvfs)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Oct 13 10:49:28 2012 +0200 (2012-10-13) |
parents | 73641efed1cc |
children | 88a3eb3bc7b7 |
rev | line source |
---|---|
pankso@11898 | 1 # SliTaz package receipt. |
pankso@11898 | 2 |
pankso@11898 | 3 PACKAGE="spacefm" |
pankso@13497 | 4 VERSION="0.8.0" |
pankso@11898 | 5 CATEGORY="system-tools" |
pankso@11898 | 6 SHORT_DESC="Light, fast and easy to use file manager." |
pankso@11898 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@11898 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@11898 | 9 WEB_SITE="http://spacefm.sourceforge.net/" |
pankso@11898 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
pankso@13497 | 11 SUGGESTED="udevil" |
pankso@11898 | 12 |
pankso@12481 | 13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@13497 | 14 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev" |
pankso@11898 | 15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ |
pankso@13497 | 16 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \ |
pankso@13497 | 17 coreutils-file-special" |
pankso@11898 | 18 |
pankso@11898 | 19 # Rules to configure and make the package. |
pankso@11898 | 20 compile_rules() |
pankso@11898 | 21 { |
pankso@11898 | 22 cd $src |
pankso@11898 | 23 ./configure \ |
pankso@11898 | 24 --with-preferable-sudo=/usr/bin/subox \ |
pankso@13497 | 25 --disable-pixmaps \ |
pankso@11898 | 26 $CONFIGURE_ARGS && |
pankso@11898 | 27 make && make install |
pankso@11898 | 28 } |
pankso@11898 | 29 |
pankso@11898 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11898 | 31 genpkg_rules() |
pankso@11898 | 32 { |
pankso@13497 | 33 mkdir -p $fs/usr/share $fs/etc/spacefm $fs/etc/xdg/spacefm |
pankso@11898 | 34 cp -a $install/usr/bin $fs/usr |
pankso@13497 | 35 for d in applications mime icons spacefm |
pankso@11898 | 36 do |
pankso@11898 | 37 cp -a $install/usr/share/$d $fs/usr/share |
pankso@11898 | 38 done |
pankso@11898 | 39 cp $stuff/spacefm.conf $fs/etc/spacefm |
pankso@13497 | 40 cp -a $stuff/autostart $fs/etc/xdg |
pankso@13497 | 41 # Faenza --> SliTaz |
pankso@13497 | 42 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz |
pankso@11898 | 43 } |
pankso@13497 | 44 |
pankso@13497 | 45 # This will creat BIG icon cache file |
pankso@13497 | 46 # |
pankso@13497 | 47 #post_install() |
pankso@13497 | 48 #{ |
pankso@13497 | 49 #gtk-update-icon-cache -q -t -f $root/usr/share/icons/hicolor |
pankso@13497 | 50 #gtk-update-icon-cache -q -t -f $root/usr/share/icons/Faenza |
pankso@13497 | 51 #} |