wok-6.x annotate evolution-data-server/receipt @ rev 15971

curl: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 26 23:23:36 2014 +0100 (2014-02-26)
parents
children 91e30acbe640
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="evolution-data-server"
pascal@15721 4 VERSION="2.28.1"
pascal@15721 5 CATEGORY="network"
pascal@15721 6 SHORT_DESC="Integrated mail, addressbook and calendaring, server."
pascal@15721 7 MAINTAINER="erjo@slitaz.org"
pascal@15721 8 LICENSE="LGPL2"
pascal@15721 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15721 10 WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
pascal@15721 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL"
pascal@15721 12
pascal@15721 13 DEPENDS="libgnomeui libsoup"
pascal@15721 14 BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev ORBit2-dev libbonobo-dev GConf-dev libical-dev
pascal@15721 15 firefox-dev db-dev libxcb-dev popt-dev bison flex glib-dev sqlite-dev"
pascal@15721 16
pascal@15721 17 # Rules to configure and make the package.
pascal@15721 18 compile_rules()
pascal@15721 19 {
pascal@15721 20 cd $src
pascal@15721 21 ./configure \
pascal@15721 22 --prefix=/usr \
pascal@15721 23 --infodir=/usr/share/info \
pascal@15721 24 --libexecdir=/usr/lib/evolution-data-server-1.2 \
pascal@15721 25 --mandir=/usr/share/man \
pascal@15721 26 --without-weather \
pascal@15721 27 --enable-ipv6=no \
pascal@15721 28 --enable-libdb \
pascal@15721 29 --with-db=/usr/lib \
pascal@15721 30 --with-nspr-include=/usr/include/firefox-3.5.3/stable \
pascal@15721 31 --with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
pascal@15721 32 $CONFIGURE_ARGS &&
pascal@15721 33 make && make DESTDIR=$DESTDIR install
pascal@15721 34 }
pascal@15721 35
pascal@15721 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 37 genpkg_rules()
pascal@15721 38 {
pascal@15721 39 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15721 40
pascal@15721 41 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15721 42 cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
pascal@15721 43 cp -a $install/usr/share/idl $fs/usr/share
pascal@15721 44
pascal@15721 45 cp -a $install/usr/lib/bonobo $fs/usr/lib
pascal@15721 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15721 47 cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
pascal@15721 48
pascal@15721 49 # Clean unwated files
pascal@15721 50 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
pascal@15721 51
pascal@15721 52 # Stripping all
pascal@15721 53 find . -name "*.so" -exec strip -s {} \;
pascal@15721 54
pascal@15721 55 }
pascal@15721 56