wok view dillo/receipt @ rev 25735

Remove iptraf: replaced by iptraf-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 09:39:49 2024 +0000 (2 months ago)
parents 73e5a39701e3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.5"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="Light and fast web browser using FLTK."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://web.archive.org/web/20220511073123/https://www.dillo.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://web.archive.org/web/20210410093347if_/https://www.dillo.org/download/$TARBALL"
15 DEPENDS="fltk gcc-lib-base jpeg libpng openssl xorg-libX11 zlib"
16 BUILD_DEPENDS="fltk-dev jpeg-dev libpng-dev openssl-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/latest one/!d;s|.*dillo-||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # patch -p0 < $stuff/fltk-1.3.3.u
31 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h
33 ./configure \
34 --sysconfdir=/etc \
35 --prefix=/usr \
36 --enable-ssl \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/dillo $fs/usr/lib
50 strip -s $fs/usr/lib/dillo/dpi/*/*
51 chmod +x $fs/usr/bin/*
53 # Configuration files with custom dillorc to have webhome
54 cp -a $install/etc $fs
55 cp -a $stuff/dillorc $fs/etc/dillo
56 cp -a $stuff/webhome $fs/usr/share
58 # Dillo version for user agent string
59 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
61 chown -R root.root $fs
62 }