wok-current view pcmanfm/receipt @ rev 17399
vlc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 20:47:48 2014 +0100 (2014-11-27) |
parents | 01e2544c615c |
children | 5d53e8ccbc8d |
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 HOST_ARCH="i486 arm"
14 SUGGESTED="gvfs"
15 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
16 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk"
17 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
18 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk"
20 # Handle cross compilation.
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/pcmanfm $fs/usr/share
38 cp -a $stuff/default $fs/etc/xdg/pcmanfm
40 # XDG autostart desktop file (lxsession will use it automatically)
41 cp -a $stuff/autostart $fs/etc/xdg
43 # Change icon in pcmanfm.desktop
44 sed -i 's/Icon=.*/Icon=folder/' \
45 $install/usr/share/applications/pcmanfm.desktop
46 cp -a $install/usr/share/applications $fs/usr/share
48 # Add custom actions
49 mkdir -p $fs/usr/share/file-manager
50 cp -a $stuff/actions $fs/usr/share/file-manager
51 cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin
52 chmod +x $fs/usr/bin/gvfs-mount-archive.sh
53 }