wok-next diff evolution-data-server/receipt @ rev 20790
1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 11:23:42 2018 +0000 (2018-06-09) |
parents | 93930f418ffb |
children | d2950281f122 |
line diff
1.1 --- a/evolution-data-server/receipt Sat Mar 03 17:38:00 2018 +0200 1.2 +++ b/evolution-data-server/receipt Sat Jun 09 11:23:42 2018 +0000 1.3 @@ -1,23 +1,22 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="evolution-data-server" 1.8 VERSION="2.28.1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Integrated mail, addressbook and calendaring, server." 1.11 +SHORT_DESC="Integrated mail, addressbook and calendaring, server" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="LGPL2" 1.14 +WEB_SITE="http://projects.gnome.org/evolution/download.shtml" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://projects.gnome.org/evolution/download.shtml" 1.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL" 1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 1.21 -DEPENDS="libgnomeui libsoup" 1.22 -BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev GConf-dev libical-dev 1.23 - firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex glib-dev sqlite3-dev" 1.24 +BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev \ 1.25 +GConf-dev libical-dev firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex \ 1.26 +glib-dev sqlite3-dev" 1.27 +SPLIT="evolution-data-server-dev" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - cd $src 1.33 +compile_rules() { 1.34 ./configure \ 1.35 --prefix=/usr \ 1.36 --infodir=/usr/share/info \ 1.37 @@ -33,24 +32,38 @@ 1.38 make && make DESTDIR=$DESTDIR install 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr/lib $fs/usr/share 1.45 +genpkg_rules() { 1.46 + case $PACKAGE in 1.47 + evolution-data-server) 1.48 + mkdir -p $fs/usr/lib $fs/usr/share 1.49 1.50 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.51 - cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share 1.52 - cp -a $install/usr/share/idl $fs/usr/share 1.53 - 1.54 - cp -a $install/usr/lib/bonobo $fs/usr/lib 1.55 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.56 - cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib 1.57 - 1.58 - # Clean unwated files 1.59 - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 1.60 - 1.61 - # Stripping all 1.62 - find . -name "*.so" -exec strip -s {} \; 1.63 - 1.64 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.65 + cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share 1.66 + cp -a $install/usr/share/idl $fs/usr/share 1.67 + 1.68 + cp -a $install/usr/lib/bonobo $fs/usr/lib 1.69 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.70 + cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib 1.71 + 1.72 + # Clean unwated files 1.73 + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 1.74 + 1.75 + # Stripping all 1.76 + find . -name "*.so" -exec strip -s {} \; 1.77 + DEPENDS="libgnomeui libsoup" 1.78 + ;; 1.79 + *-dev) 1.80 + mkdir -p $fs/usr/lib 1.81 + 1.82 + cp -a $install/usr/include $fs/usr 1.83 + 1.84 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.85 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.86 + cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib 1.87 + 1.88 + # Clean unwated files 1.89 + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; 1.90 + ;; 1.91 + esac 1.92 } 1.93