wok-next view dillo/receipt @ rev 4935
add/improve TAGS e* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 13:39:45 2010 +0000 (2010-02-16) |
parents | 9c7d20bf4e67 |
children | 6e90579538d6 |
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"
13 TAGS="browser"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --sysconfdir=/etc \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/dillo $fs/usr/lib
33 strip -s $fs/usr/lib/dillo/dpi/*/*
34 chmod +x $fs/usr/bin/*
35 # Config files with custom dillorc to have webhomepage.
36 cp -a $_pkg/etc $fs
37 cp -a stuff/dillorc $fs/etc/dillo
38 chown -R root.root $fs
39 }