wok-6.x annotate pcmanfm2/receipt @ rev 11885

pcmanfm2: Improve package integration
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 28 14:35:10 2012 +0100 (2012-02-28)
parents c73118b670f7
children 73641efed1cc
rev   line source
pascal@11560 1 # SliTaz package receipt.
pascal@11560 2
pascal@11560 3 PACKAGE="pcmanfm2"
pankso@11885 4 VERSION="0.9.10"
pascal@11560 5 CATEGORY="system-tools"
pascal@11560 6 SHORT_DESC="Light and easy to use file manager."
pascal@11560 7 MAINTAINER="pankso@slitaz.org"
pascal@11560 8 SOURCE="pcmanfm"
pascal@11560 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11560 10 WEB_SITE="http://pcmanfm.sourceforge.net/"
pascal@11560 11 WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL"
pascal@11560 12
pankso@11885 13 DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
pankso@11885 14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm"
pankso@11885 15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
pankso@11885 16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
pankso@11885 17 expat-dev"
pankso@11885 18
pascal@11560 19 # Rules to configure and make the package.
pascal@11560 20 compile_rules()
pascal@11560 21 {
pascal@11560 22 cd $src
pankso@11885 23 ./configure $CONFIGURE_ARGS &&
pankso@11885 24 make && make install
pascal@11560 25 }
pascal@11560 26
pascal@11560 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11560 28 genpkg_rules()
pascal@11560 29 {
pankso@11885 30 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
pankso@11885 31 cp -a $install/usr/bin $fs/usr
pankso@11885 32 cp -a $install/usr/share/pcmanfm $fs/usr/share
pankso@11885 33 cp -a $stuff/default $fs/etc/xdg/pcmanfm
pascal@11560 34 }