wok view dillo/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (3 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 }