wok view pcmanfm/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 0c50858636e4
children 6aa2abac7209
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="1.1.0"
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.gz"
10 WEB_SITE="http://pcmanfm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm gvfs"
15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
17 expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pcmanfm $fs/usr/share
36 cp -a $stuff/default $fs/etc/xdg/pcmanfm
38 # XDG autostart desktop file (lxsession will use it automaticaly)
39 cp -a $stuff/autostart $fs/etc/xdg
40 }