wok-6.x diff 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
line diff
     1.1 --- a/pcmanfm2/receipt	Sun Dec 25 15:19:15 2011 +0100
     1.2 +++ b/pcmanfm2/receipt	Tue Feb 28 14:35:10 2012 +0100
     1.3 @@ -1,39 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pcmanfm2"
     1.7 -VERSION="0.9.8"
     1.8 +VERSION="0.9.10"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Light and easy to use file manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
    1.13 -zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \
    1.14 -startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
    1.15 -xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
    1.16 -xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender libfm"
    1.17 -BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
    1.18 -dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \
    1.19 -libfm libfm-dev menu-cache-dev expat-dev"
    1.20  SOURCE="pcmanfm"
    1.21  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.22  WEB_SITE="http://pcmanfm.sourceforge.net/"
    1.23  WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL"
    1.24  
    1.25 +DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
    1.26 +zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm"
    1.27 +BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
    1.28 +startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
    1.29 +expat-dev"
    1.30 +
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34  	cd $src
    1.35 -	./configure \
    1.36 -		--prefix=/usr \
    1.37 -		--mandir=/usr/share/man \
    1.38 -		$CONFIGURE_ARGS &&
    1.39 -	make &&
    1.40 -	make DESTDIR=$PWD/_pkg install
    1.41 +	./configure $CONFIGURE_ARGS &&
    1.42 +	make && make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/usr/share
    1.49 -	cp -a $_pkg/usr/bin $fs/usr
    1.50 -	cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
    1.51 +	mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
    1.52 +	cp -a $install/usr/bin $fs/usr
    1.53 +	cp -a $install/usr/share/pcmanfm $fs/usr/share
    1.54 +	cp -a $stuff/default $fs/etc/xdg/pcmanfm
    1.55  }