wok-current view dillo/receipt @ rev 15984
tcc: improve arm support but still not cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 00:29:29 2014 +0100 (2014-03-02) |
parents | 2b9f96603415 |
children | 3bf809ba9d85 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browse using FLTK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.dillo.org/"
11 WGET_URL="http://www.dillo.org/download/$TARBALL"
12 TAGS="browser"
14 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
15 BUILD_DEPENDS="$DEPENDS fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --sysconfdir=/etc \
23 --prefix=/usr \
24 --enable-ssl \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/dillo $fs/usr/lib
36 strip -s $fs/usr/lib/dillo/dpi/*/*
37 chmod +x $fs/usr/bin/*
38 # Config files with custom dillorc to have webhomepage.
39 cp -a $install/etc $fs
40 cp -a $stuff/dillorc $fs/etc/dillo
41 chown -R root.root $fs
42 }