wok view dillo/receipt @ rev 25396
updated vidalia (0.2.21 -> 0.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 10:16:02 2022 +0100 (2022-08-02) |
parents | a190bcfebf1e |
children | b81ceff0b056 |
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 - https://www.dillo.org/download/ 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 }