wok-current view claws-mail/receipt @ rev 3919
linux: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 19:22:04 2009 +0200 (2009-08-18) |
parents | 2407153fdf77 |
children | a960fee00f2f |
line source
1 # SliTaz package receipt.
3 PACKAGE="claws-mail"
4 VERSION="3.7.2"
5 CATEGORY="network"
6 SHORT_DESC="The user-firendly, lightweight and fast email client"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libetpan libdb cyrus-sasl 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-libXdamag"
13 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev enchant libidn-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.claws-mail.org/index.php"
16 WGET_URL="http://master.dl.sourceforge.net/sourceforge/sylpheed-claws/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --disable-ldap \
25 --disable-jpilot \
26 --disable-dillo-viewer-plugin \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/$PACKAGE/plugins \
36 $fs/usr/share/locale \
37 $fs/usr/share/
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 cp -a $_pkg/usr/share/icons $fs/usr/share
41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 strip -s $fs/usr/bin/*
43 }