wok-6.x view dillo/receipt @ rev 15384
Add licenses
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Oct 21 23:10:53 2013 +0200 (2013-10-21) |
parents | c2f103586eb5 |
children | a5485afde222 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.2"
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-libXi xorg-libXinerama \
15 gcc-lib-base"
16 BUILD_DEPENDS="$DEPENDS fltk-dev libpng-dev jpeg-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --sysconfdir=/etc \
24 --prefix=/usr \
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 }