wok-6.x view pcmanfm/receipt @ rev 18150

Up: pcmanfm,libfm(git), libtasn1(4.5)

to exclude builtin libtasn1 from libgnutls* , no more rebuilds needed
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jun 19 19:56:46 2015 +0200 (2015-06-19)
parents b65606697305
children 5e26ab6bd360
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="aa3ca1c"
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 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz"
13 TAGS="file-manager"
14 HOST_ARCH="i486 arm"
16 SUGGESTED="gvfs"
17 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
18 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk"
19 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
20 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc libtool"
22 # Handle cross compilation.
23 case "$ARCH" in
24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh
31 ./configure $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/pcmanfm $fs/usr/share
41 cp -a $stuff/default $fs/etc/xdg/pcmanfm
43 # XDG autostart desktop file (lxsession will use it automatically)
44 cp -a $stuff/autostart $fs/etc/xdg
46 # Change icon in pcmanfm.desktop
47 sed -i 's/Icon=.*/Icon=folder/' \
48 $install/usr/share/applications/pcmanfm.desktop
49 cp -a $install/usr/share/applications $fs/usr/share
51 # Add custom actions
52 mkdir -p $fs/usr/share/file-manager
53 cp -a $stuff/actions $fs/usr/share/file-manager
54 cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin
55 chmod +x $fs/usr/bin/gvfs-mount-archive.sh
56 }