# HG changeset patch # User Eric Joseph-Alexandre # Date 1349565983 -7200 # Node ID f07e1e2d4e6cd1208130c02c170d0496c8bab2b5 # Parent 57488d17c29025db1edc13238cf81bd76009a1cc Add: claws-mail-gtkhtml2_viewer diff -r 57488d17c290 -r f07e1e2d4e6c claws-mail-gtkhtml2_viewer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/claws-mail-gtkhtml2_viewer/receipt Sun Oct 07 01:26:23 2012 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="claws-mail-gtkhtml2_viewer" +VERSION="0.33" +CATEGORY="network" +SHORT_DESC="HTML Viwer plugins for claws-mail." +MAINTAINER="erjo@slitaz.org" +DEPENDS="curl claws-mail expat gtk+ libxml2 xorg-libX11 xorg-libXau \ +xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ +xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" +BUILD_DEPENDS="curl-dev claws-mail-dev gnutls-dev libxml2-dev" +SOURCE="gtkhtml2_viewer" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.claws-mail.org/plugins.php" +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 \ + --disable-accessibility \ + --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 + cp -a $_pkg/usr/lib/claws-mail/plugins/*.so* $fs/usr/lib/claws-mail/plugins/ +} +