wok-next view evolution-data-server/receipt @ rev 17726

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