wok-current view claws-mail/receipt @ rev 8736

guile: improve depends & fix build_depends
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 19 21:36:48 2011 +0100 (2011-02-19)
parents 5b1c09129300
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="claws-mail"
4 VERSION="3.7.8"
5 CATEGORY="network"
6 SHORT_DESC="The user-firendly, lightweight and fast email client"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libetpan libdb libsasl curl gpgme enchant dbus dbus-glib expat \
9 gnutls gtk+ libgcrypt startup-notification xorg-libICE xorg-libSM \
10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
12 xorg-libXdamage gcc-lib-base libtasn1"
13 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev enchant libidn-dev db-dev expat-dev \
14 cyrus-sasl-dev xcb-util-dev gtk+-dev pkg-config"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.claws-mail.org/index.php"
17 WGET_URL="$SF_MIRROR/sylpheed-claws/$TARBALL"
18 TAGS="email client"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --prefix=/usr \
25 --infodir=/usr/share/info \
26 --disable-ldap \
27 --disable-jpilot \
28 --disable-dillo-viewer-plugin \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/$PACKAGE/plugins \
38 $fs/usr/share/locale \
39 $fs/usr/share/
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/share/applications $fs/usr/share
42 cp -a $_pkg/usr/share/icons $fs/usr/share
43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
44 strip -s $fs/usr/bin/*
45 }