# SliTaz package receipt. PACKAGE="gtkhtml2_viewer" VERSION="0.27" 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" TARBALL="$PACKAGE-$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/ }