wok-6.x view dillo/receipt @ rev 23696
Up libtcplay (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 09:29:39 2020 +0000 (2020-04-27) |
parents | a78610b2eb47 |
children | bfabe25c21ff |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # patch -p0 < $stuff/fltk-1.3.3.u
24 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h
26 ./configure \
27 --sysconfdir=/etc \
28 --prefix=/usr \
29 --enable-ssl \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/dillo $fs/usr/lib
43 strip -s $fs/usr/lib/dillo/dpi/*/*
44 chmod +x $fs/usr/bin/*
46 # Configuration files with custom dillorc to have webhome
47 cp -a $install/etc $fs
48 cp -a $stuff/dillorc $fs/etc/dillo
49 cp -a $stuff/webhome $fs/usr/share
51 # Dillo version for user agent string
52 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
54 chown -R root.root $fs
55 }