wok view dillo/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | 5520f22a2647 |
children | a190bcfebf1e |
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://www.dillo.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="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 - ${WGET_URL%/*} 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 }