wok annotate spacefm/receipt @ rev 15030

netatalk: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 09:52:48 2013 +0000 (2013-08-12)
parents e074c6ae1cb0
children 978fcbbaaa52
rev   line source
pankso@11898 1 # SliTaz package receipt.
pankso@11898 2
pankso@11898 3 PACKAGE="spacefm"
monghitri@14077 4 VERSION="0.8.6"
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@11898 10 WEB_SITE="http://spacefm.sourceforge.net/"
pankso@11898 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
pankso@13497 12 SUGGESTED="udevil"
pankso@11898 13
pankso@12481 14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pankso@13497 15 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev"
pankso@11898 16 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
pankso@13497 17 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \
pankso@13497 18 coreutils-file-special"
pankso@11898 19
pankso@11898 20 # Rules to configure and make the package.
pankso@11898 21 compile_rules()
pankso@11898 22 {
pankso@11898 23 cd $src
pascal@13788 24 patch -Np1 -i $stuff/prefdlg.ui.diff
pascal@13788 25 patch -Np1 -i $stuff/settings.h.diff
pascal@13788 26 patch -Np1 -i $stuff/vfs-file-task.c.diff
pascal@13788 27
pankso@13630 28 # We dont want bash hardcoded
pascal@13788 29 sed -i s'|/bin/bash|/bin/sh|'g src/*.c src/*.h src/*/*.c src/*/*.h
pascal@13788 30
pankso@11898 31 ./configure \
pascal@13788 32 --with-preferable-sudo="/usr/bin/tazbox" \
pankso@13497 33 --disable-pixmaps \
pankso@11898 34 $CONFIGURE_ARGS &&
pankso@11898 35 make && make install
pankso@11898 36 }
pankso@11898 37
pankso@11898 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11898 39 genpkg_rules()
pankso@11898 40 {
pankso@13607 41 mkdir -p $fs/usr/share $fs/etc/spacefm
pankso@11898 42 cp -a $install/usr/bin $fs/usr
pankso@13497 43 for d in applications mime icons spacefm
pankso@11898 44 do
pankso@11898 45 cp -a $install/usr/share/$d $fs/usr/share
pankso@11898 46 done
pankso@11898 47 cp $stuff/spacefm.conf $fs/etc/spacefm
pankso@13607 48 cp -a $stuff/xdg $fs/etc
pankso@13497 49 # Faenza --> SliTaz
pankso@13497 50 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
pankso@13607 51 rm -rf $fs/usr/share/icons/hicolor/128x128
pankso@13607 52 # /bin/bash --> /bin/sh
pankso@13607 53 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
pankso@11898 54 }