wok annotate claws-mail/receipt @ rev 2279

mysql: add build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 19 10:56:32 2009 +0000 (2009-02-19)
parents 2e5e480ef593
children 22b7efb924bb
rev   line source
erjo@1239 1 # SliTaz package receipt.
erjo@1239 2
erjo@1239 3 PACKAGE="claws-mail"
erjo@1767 4 VERSION="3.6.1"
pascal@1423 5 CATEGORY="network"
erjo@1304 6 SHORT_DESC="The user-firendly, lightweight and fast email client"
erjo@1239 7 MAINTAINER="erjo@slitaz.org"
pascal@1776 8 DEPENDS="libetpan libdb cyrus-sasl curl gpgme enchant"
pascal@1776 9 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev enchant"
erjo@1239 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1239 11 WEB_SITE="http://www.claws-mail.org/index.php"
pascal@1776 12 WGET_URL="http://master.dl.sourceforge.net/sourceforge/sylpheed-claws/$TARBALL"
erjo@1239 13
erjo@1239 14 # Rules to configure and make the package.
erjo@1239 15 compile_rules()
erjo@1239 16 {
erjo@1239 17 cd $src
erjo@1239 18 ./configure --prefix=/usr \
erjo@1239 19 --infodir=/usr/share/info \
erjo@1239 20 --disable-ldap \
erjo@1239 21 --disable-jpilot \
erjo@1239 22 --disable-dillo-viewer-plugin \
pascal@1514 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1514 24 make &&
erjo@1239 25 make DESTDIR=$PWD/_pkg install
erjo@1239 26 }
erjo@1239 27
erjo@1239 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1239 29 genpkg_rules()
erjo@1239 30 {
erjo@1239 31 mkdir -p $fs/usr/lib/$PACKAGE/plugins \
erjo@1239 32 $fs/usr/share/locale \
erjo@1239 33 $fs/usr/share/
erjo@1239 34 cp -a $_pkg/usr/bin $fs/usr
erjo@1239 35 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@1239 36 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@1239 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@1239 38 strip -s $fs/usr/bin/*
erjo@1239 39 }
erjo@1239 40