wok-6.x view pcmanfm/receipt @ rev 18044
yad: update depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue May 12 19:26:09 2015 -0400 (2015-05-12) |
parents | cce2b600b834 |
children | b65606697305 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="1.2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://pcmanfm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
12 TAGS="file-manager"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="gvfs"
16 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
17 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk"
18 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
19 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk"
21 # Handle cross compilation.
22 case "$ARCH" in
23 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/pcmanfm $fs/usr/share
39 cp -a $stuff/default $fs/etc/xdg/pcmanfm
41 # XDG autostart desktop file (lxsession will use it automatically)
42 cp -a $stuff/autostart $fs/etc/xdg
44 # Change icon in pcmanfm.desktop
45 sed -i 's/Icon=.*/Icon=folder/' \
46 $install/usr/share/applications/pcmanfm.desktop
47 cp -a $install/usr/share/applications $fs/usr/share
49 # Add custom actions
50 mkdir -p $fs/usr/share/file-manager
51 cp -a $stuff/actions $fs/usr/share/file-manager
52 cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin
53 chmod +x $fs/usr/bin/gvfs-mount-archive.sh
54 }