wok view dillo/receipt @ rev 3495

Added pwsafe
author Liu Peng <rocky@slitaz.org>
date Thu Jun 18 23:28:28 2009 +0800 (2009-06-18)
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 }