wok annotate spacefm/receipt @ rev 17389
ncurses: depends on libtinfo & libtic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 12:56:33 2014 +0100 (2014-11-27) |
parents | 252c39ceae1b |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
pankso@11898 | 1 # SliTaz package receipt. |
pankso@11898 | 2 |
pankso@11898 | 3 PACKAGE="spacefm" |
devl547@16200 | 4 VERSION="0.9.4" |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@11898 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@15959 | 10 WEB_SITE="http://ignorantguru.github.io/spacefm/" |
pankso@11898 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
pankso@11898 | 12 |
pankso@12481 | 13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@16519 | 14 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev bash udevil" |
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 { |
al@17261 | 22 patch -Np1 -i $stuff/prefdlg.ui.diff |
al@17261 | 23 patch -Np1 -i $stuff/settings.h.diff |
pascal@13788 | 24 patch -Np1 -i $stuff/vfs-file-task.c.diff |
pascal@13788 | 25 |
pankso@11898 | 26 ./configure \ |
pankso@15959 | 27 --with-preferable-sudo="/usr/bin/subox" \ |
pankso@13497 | 28 --disable-pixmaps \ |
pankso@11898 | 29 $CONFIGURE_ARGS && |
pankso@11898 | 30 make && make install |
pankso@11898 | 31 } |
pankso@11898 | 32 |
pankso@11898 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11898 | 34 genpkg_rules() |
pankso@11898 | 35 { |
pankso@13607 | 36 mkdir -p $fs/usr/share $fs/etc/spacefm |
pankso@11898 | 37 cp -a $install/usr/bin $fs/usr |
al@17261 | 38 for d in applications icons spacefm; do |
pankso@11898 | 39 cp -a $install/usr/share/$d $fs/usr/share |
pankso@11898 | 40 done |
pankso@11898 | 41 cp $stuff/spacefm.conf $fs/etc/spacefm |
pankso@13607 | 42 cp -a $stuff/xdg $fs/etc |
pankso@13497 | 43 # Faenza --> SliTaz |
pankso@13497 | 44 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz |
pankso@13607 | 45 rm -rf $fs/usr/share/icons/hicolor/128x128 |
pankso@13607 | 46 # /bin/bash --> /bin/sh |
pankso@13607 | 47 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth |
pankso@11898 | 48 } |