wok annotate pcmanfm/receipt @ rev 17667

Up firefox-official (35.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 16 09:31:04 2015 +0100 (2015-02-16)
parents cce2b600b834
children b65606697305
rev   line source
pankso@255 1 # SliTaz package receipt.
pankso@255 2
pascal@13351 3 PACKAGE="pcmanfm"
psychomaniak@17229 4 VERSION="1.2.3"
pankso@255 5 CATEGORY="system-tools"
pankso@255 6 SHORT_DESC="Light and easy to use file manager."
pankso@255 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@16276 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@12544 10 WEB_SITE="http://pcmanfm.sourceforge.net/"
pascal@13351 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
al@17501 12 TAGS="file-manager"
pankso@16276 13 HOST_ARCH="i486 arm"
pankso@12544 14
pankso@16276 15 SUGGESTED="gvfs"
pankso@12481 16 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
al@16830 17 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk"
pankso@16276 18 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
psychomaniak@17208 19 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk"
pankso@16276 20
pankso@16276 21 # Handle cross compilation.
pankso@16276 22 case "$ARCH" in
pankso@16276 23 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
pankso@16276 24 esac
pankso@255 25
pankso@255 26 # Rules to configure and make the package.
pankso@255 27 compile_rules()
pankso@255 28 {
pankso@13349 29 ./configure $CONFIGURE_ARGS &&
pankso@12544 30 make && make install
pankso@255 31 }
pankso@255 32
pankso@255 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@255 34 genpkg_rules()
pankso@255 35 {
pankso@13349 36 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
pankso@12544 37 cp -a $install/usr/bin $fs/usr
pankso@12544 38 cp -a $install/usr/share/pcmanfm $fs/usr/share
pankso@13349 39 cp -a $stuff/default $fs/etc/xdg/pcmanfm
pankso@12561 40
al@16715 41 # XDG autostart desktop file (lxsession will use it automatically)
pankso@12561 42 cp -a $stuff/autostart $fs/etc/xdg
al@17294 43
al@17294 44 # Change icon in pcmanfm.desktop
paul@16800 45 sed -i 's/Icon=.*/Icon=folder/' \
paul@16800 46 $install/usr/share/applications/pcmanfm.desktop
paul@16800 47 cp -a $install/usr/share/applications $fs/usr/share
al@17294 48
al@17294 49 # Add custom actions
al@17294 50 mkdir -p $fs/usr/share/file-manager
al@17294 51 cp -a $stuff/actions $fs/usr/share/file-manager
al@17294 52 cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin
al@17294 53 chmod +x $fs/usr/bin/gvfs-mount-archive.sh
pankso@255 54 }