wok-next view dillo/receipt @ rev 3767
php: add ftp/zip/calendar/exif support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 17:25:48 2009 +0200 (2009-07-29) |
parents | 1ac0ba1a2795 |
children | 9c7d20bf4e67 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="2.0"
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/dillo \
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 }