wok-6.x view dillo/receipt @ rev 20915

updated fbpanel (6.1 -> 7.0)
author Hans-G?nter Theisgen
date Thu Feb 28 15:53:45 2019 +0100 (2019-02-28)
parents acb8ffc53deb
children 5520f22a2647
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.4"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browse using FLTK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.dillo.org/"
11 WGET_URL="https://www.dillo.org/download/$TARBALL"
12 TAGS="web-browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
16 BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p0 < $stuff/fltk-1.3.3.u
22 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
23 ./configure \
24 --sysconfdir=/etc \
25 --prefix=/usr \
26 --enable-ssl \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/dillo $fs/usr/lib
37 strip -s $fs/usr/lib/dillo/dpi/*/*
38 chmod +x $fs/usr/bin/*
39 # Config files with custom dillorc to have webhome
40 cp -a $install/etc $fs
41 cp -a $stuff/dillorc $fs/etc/dillo
42 cp -a $stuff/webhome $fs/usr/share
43 # Dillo version for user agent string
44 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
45 chown -R root.root $fs
46 }