wok-next annotate pcmanfm/receipt @ rev 13479

grooms: chown to www
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 10 15:15:42 2012 +0200 (2012-10-10)
parents 473b2d729747
children 0c50858636e4
rev   line source
pankso@255 1 # SliTaz package receipt.
pankso@255 2
pascal@13351 3 PACKAGE="pcmanfm"
pankso@13349 4 VERSION="1.0"
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@13351 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12544 9 WEB_SITE="http://pcmanfm.sourceforge.net/"
pascal@13351 10 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
pankso@12544 11
pankso@12481 12 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pankso@13349 13 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm"
pankso@13349 14 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
pankso@13349 15 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
pankso@13349 16 expat-dev"
pankso@255 17
pankso@255 18 # Rules to configure and make the package.
pankso@255 19 compile_rules()
pankso@255 20 {
pankso@12544 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pankso@13349 22 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pankso@12544 23
pankso@255 24 cd $src
pankso@13349 25 ./configure $CONFIGURE_ARGS &&
pankso@12544 26 make && make install
pankso@255 27 }
pankso@255 28
pankso@255 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@255 30 genpkg_rules()
pankso@255 31 {
pankso@13349 32 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
pankso@12544 33 cp -a $install/usr/bin $fs/usr
pankso@12544 34 cp -a $install/usr/share/pcmanfm $fs/usr/share
pankso@13349 35 cp -a $stuff/default $fs/etc/xdg/pcmanfm
pankso@12561 36
pankso@12561 37 # XDG autostart desktop file (lxsession will use it automaticaly)
pankso@12561 38 cp -a $stuff/autostart $fs/etc/xdg
pankso@255 39 }