# HG changeset patch # User Eric Joseph-Alexandre # Date 1246917289 -7200 # Node ID a0cd10c250375f0c631620f632738f839565eb2b # Parent 0b76737703266bf970c2ffc6ebd6df40bc212666 Add: claws-mail-archive diff -r 0b7673770326 -r a0cd10c25037 claws-mail-archive/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/claws-mail-archive/receipt Mon Jul 06 23:54:49 2009 +0200 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="claws-mail-archive" +VERSION="0.6.5" +CATEGORY="newtwork" +SHORT_DESC="claws-mail archiving features" +MAINTAINER="erjo@slitaz.org" +DEPENDS="claws-mail libarchive" +BUILD_DEPENDS="claws-mail-dev libarchive-dev" +SOURCE="archive" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.claws-mail.org" +WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/claws-mail/plugins \ + $fs/usr/share/locale + + cp -a $_pkg/usr/lib/claws-mail/plugins/*.so* \ + $fs/usr/lib/claws-mail/plugins + cp -a $_pkg/usr/share/locale/fr $fs/usr/locale +} +