wok-stable diff thunar-vfs/receipt @ rev 9717

slitaz-toolchain: Let create a new toolchain in one command for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 01:35:10 2011 +0200 (2011-05-09)
parents
children f9817eda4acb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thunar-vfs/receipt	Mon May 09 01:35:10 2011 +0200
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="thunar-vfs"
     1.7 +VERSION="1.2.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Thnuar File Manager Libraries"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \
    1.12 +gamin pcre libexif"
    1.13 +BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev 
    1.14 + startup-notification-dev xfce4-panel-dev zlib-dev intltool"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +WEB_SITE="http://www.xfce.org"
    1.17 +WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
    1.18 +TAGS="file-manager file-browser"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--enable-dbus \
    1.27 +		--enable-startup-notification \
    1.28 +		--disable-gnome-thumbnailers \
    1.29 +		--enable-debug=no && \
    1.30 +	make && make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	
    1.37 +	mkdir -p $fs/usr \
    1.38 +		$fs/usr/share/locale \
    1.39 +		$fs/usr/lib/ \
    1.40 +		$fs/usr/share
    1.41 +
    1.42 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 +	cp -a $_pkg/usr/lib/thunar-vfs-1 $fs/usr/lib
    1.44 +	
    1.45 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.46 +	cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
    1.47 +
    1.48 +	# Strip all
    1.49 +	find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
    1.50 +}
    1.51 +