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

Up get-palemoon (27.4.2), smtube (17.5.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 24 01:39:28 2017 +0200 (2017-08-24)
parents 5d53e8ccbc8d
children a78610b2eb47
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="http://www.dillo.org/"
11 WGET_URL="http://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 }