wok-next view dillo/receipt @ rev 18109
Add sshfp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 18:13:38 2015 +0200 (2015-06-01) |
parents | 95324ca5396c |
children | acb8ffc53deb |
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.4"
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="web-browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
16 BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
22 ./configure \
23 --sysconfdir=/etc \
24 --prefix=/usr \
25 --enable-ssl \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
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 webhome
39 cp -a $install/etc $fs
40 cp -a $stuff/dillorc $fs/etc/dillo
41 cp -a $stuff/webhome $fs/usr/share
42 # Dillo version for user agent string
43 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
44 chown -R root.root $fs
45 }