wok-6.x view claws-mail/receipt @ rev 12877
claws-mail: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 25 13:22:18 2012 +0200 (2012-05-25) |
parents | 581915ca201d |
children | fdea92a66d45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="claws-mail"
4 VERSION="3.7.10"
5 CATEGORY="network"
6 SHORT_DESC="The user-firendly, lightweight and fast email client"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.claws-mail.org/index.php"
10 WGET_URL="$SF_MIRROR/sylpheed-claws/$TARBALL"
11 TAGS="email client"
13 DEPENDS="libetpan libdb libsasl libcurl gpgme enchant dbus dbus-glib expat \
14 libgnutls gtk+ libgcrypt startup-notification xorg-libICE xorg-libSM \
15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
17 xorg-libXdamage gcc-lib-base libtasn1"
18 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev \
19 enchant libidn-dev db-dev expat-dev cyrus-sasl-dev xcb-util-dev gtk+-dev \
20 pkg-config libassuan libassuan-dev xorg-dev gnutls-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 sed -i 's|<glibconfig.h>|<glib.h>|' src/common/defs.h
27 ./configure \
28 --disable-ldap \
29 --disable-jpilot \
30 --disable-dillo-viewer-plugin \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share \
39 $fs/usr/lib/$PACKAGE/plugins
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/share/icons $fs/usr/share
42 }