wok-6.x diff evolution-data-server/receipt @ rev 17036

linux: fix list_modules.sh (thanks aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 18 23:00:41 2014 +0200 (2014-08-18)
parents
children 91e30acbe640
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/evolution-data-server/receipt	Mon Aug 18 23:00:41 2014 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="evolution-data-server"
     1.7 +VERSION="2.28.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Integrated mail, addressbook and calendaring, server."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +LICENSE="LGPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
    1.14 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libgnomeui libsoup"
    1.17 +BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev ORBit2-dev libbonobo-dev GConf-dev libical-dev
    1.18 + firefox-dev db-dev libxcb-dev popt-dev bison flex glib-dev sqlite-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--libexecdir=/usr/lib/evolution-data-server-1.2 \
    1.28 +		--mandir=/usr/share/man \
    1.29 +		--without-weather \
    1.30 +		--enable-ipv6=no \
    1.31 +		--enable-libdb \
    1.32 +		--with-db=/usr/lib \
    1.33 +		--with-nspr-include=/usr/include/firefox-3.5.3/stable \
    1.34 +		--with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
    1.35 +		$CONFIGURE_ARGS &&
    1.36 +	make && make DESTDIR=$DESTDIR install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.43 +
    1.44 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.45 +	cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
    1.46 +	cp -a $install/usr/share/idl $fs/usr/share
    1.47 +	
    1.48 +	cp -a $install/usr/lib/bonobo $fs/usr/lib
    1.49 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.50 +	cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
    1.51 +	
    1.52 +		# Clean unwated files
    1.53 +	cd $fs/usr/lib  ; find . -name "*.*a" -exec rm -f {} \;
    1.54 +	
    1.55 +	# Stripping all
    1.56 +	find . -name "*.so" -exec strip -s {} \;
    1.57 +	
    1.58 +}
    1.59 +