wok-next view dillo/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 93930f418ffb
children d6378d455338
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.dillo.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.dillo.org/download/$TARBALL"
14 BUILD_DEPENDS="fltk-dev libpng16-dev jpeg-dev zlib-dev openssl-dev \
15 xorg-libX11-dev"
17 compile_rules() {
18 patch -p0 < $stuff/fltk-1.3.3.u
19 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
21 ./configure \
22 --enable-ssl \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/dillo $fs/usr/lib
32 strip -s $fs/usr/lib/dillo/dpi/*/*
33 chmod +x $fs/usr/bin/*
34 # Config files with custom dillorc to have webhome
35 cp -a $install/etc $fs
36 cp -a $stuff/dillorc $fs/etc/dillo
37 cp -a $stuff/webhome $fs/usr/share
38 # Dillo version for user agent string
39 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
40 chown -R root.root $fs
41 DEPENDS="fltk libpng16 jpeg zlib openssl xorg-libX11 gcc-lib-base"
42 TAGS="web-browser"
43 }