wok-next view dillo/receipt @ rev 2803
Add:cdrkit-isoinfo for isoinfo utils
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 28 15:36:12 2009 +0000 (2009-04-28) |
parents | |
children | 583bdd691510 |
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"
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 }