wok diff libexo/receipt @ rev 2253

Add squirrelmail-ldapuser
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 15 22:50:52 2009 +0000 (2009-02-15)
parents
children 2e55de4816a6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libexo/receipt	Sun Feb 15 22:50:52 2009 +0000
     1.3 @@ -0,0 +1,51 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libexo"
     1.7 +VERSION="0.3.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xfce extension library"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfce4util xfce-mcs-manager perl-uri-url perl-uri-escape perl-uri-file
    1.12 +startup-notification hal"
    1.13 +BUILD_DEPENDS="libxfce4util-dev perl-uri-url perl-uri-escape perl-uri-file xfce-mcs-manager-dev
    1.14 + startup-notification-dev hal-dev"
    1.15 +SOURCE="exo"
    1.16 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17 +WEB_SITE="http://www.xfce.org"
    1.18 +WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
    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-mcs-plugin \
    1.27 +		--enable-notifications \
    1.28 +		--enable-hal \
    1.29 +		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    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 +	mkdir -p $fs/usr \
    1.37 +		$fs/usr/lib/xfce4/mcs-plugins \
    1.38 +		$fs/usr/share/locale \
    1.39 +		$fs/usr/share/xfce4
    1.40 +		
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 +	cp -a $_pkg/usr/lib/xfce4/mcs-plugins/*.so* $fs/usr/lib/xfce4/mcs-plugins
    1.44 +	cp -a $_pkg/usr/libexec $fs/usr
    1.45 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.46 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.47 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.48 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.49 +	cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
    1.50 +
    1.51 +	# Fix perms
    1.52 +	chmod +x $fs/usr/bin/exo-preferred-applications
    1.53 +}
    1.54 +