wok-stable view dillo/receipt @ rev 4106

Up: libmysql, mysl* (5.1.37)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 19 18:46:29 2009 +0000 (2009-09-19)
parents 583bdd691510
children 74a6a43bf614
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="2.1.1"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browse using FLTK."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.dillo.org/"
10 WGET_URL="http://www.dillo.org/download/$TARBALL"
11 DEPENDS="fltk-2.0.x libpng jpeg zlib openssl"
12 BUILD_DEPENDS="$DEPENDS fltk-2.0.x-dev libpng-dev jpeg-dev zlib-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --sysconfdir=/etc \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/dillo $fs/usr/lib
32 strip -s $fs/usr/lib/dillo/dpi/*/*
33 chmod +x $fs/usr/bin/*
34 # Config files with custom dillorc to have webhomepage.
35 cp -a $_pkg/etc $fs
36 cp -a stuff/dillorc $fs/etc/dillo
37 chown -R root.root $fs
38 }