wok-current annotate dillo/receipt @ rev 3277

Add: ophcrack, libqwt5-qt4, libqwt5-qt4-dev
author Cedric Tissieres <slitaz@objectif-securite.ch>
date Tue Jun 02 09:43:25 2009 +0200 (2009-06-02)
parents 1ac0ba1a2795
children 9c7d20bf4e67
rev   line source
pankso@2795 1 # SliTaz package receipt.
pankso@2795 2
pankso@2795 3 PACKAGE="dillo"
pankso@2795 4 VERSION="2.0"
pankso@2795 5 CATEGORY="network"
pankso@2795 6 SHORT_DESC="Light and fast web browse using FLTK."
pankso@2795 7 MAINTAINER="pankso@slitaz.org"
pankso@2795 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2795 9 WEB_SITE="http://www.dillo.org/"
pankso@2795 10 WGET_URL="http://www.dillo.org/download/$TARBALL"
pascal@2845 11 DEPENDS="fltk-2.0.x libpng jpeg zlib openssl"
pankso@2795 12 BUILD_DEPENDS="$DEPENDS fltk-2.0.x-dev libpng-dev jpeg-dev zlib-dev"
pankso@2795 13
pankso@2795 14 # Rules to configure and make the package.
pankso@2795 15 compile_rules()
pankso@2795 16 {
pankso@2795 17 cd $src
pankso@2795 18 ./configure \
pankso@2795 19 --sysconfdir=/etc/dillo \
pankso@2795 20 --prefix=/usr \
pankso@2795 21 $CONFIGURE_ARGS &&
pankso@2795 22 make &&
pankso@2795 23 make DESTDIR=$PWD/_pkg install
pankso@2795 24 }
pankso@2795 25
pankso@2795 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2795 27 genpkg_rules()
pankso@2795 28 {
pankso@2795 29 mkdir -p $fs/usr/lib
pankso@2795 30 cp -a $_pkg/usr/bin $fs/usr
pankso@2795 31 cp -a $_pkg/usr/lib/dillo $fs/usr/lib
pankso@2795 32 strip -s $fs/usr/lib/dillo/dpi/*/*
pankso@2795 33 chmod +x $fs/usr/bin/*
pankso@2795 34 # Config files with custom dillorc to have webhomepage.
pankso@2795 35 cp -a $_pkg/etc $fs
pankso@2795 36 cp -a stuff/dillorc $fs/etc/dillo
pankso@2795 37 chown -R root.root $fs
pankso@2795 38 }