wok-next view dillo/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents 757d032c55c7
children 0c06401ec98f
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 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
20 ./configure \
21 --enable-ssl \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/dillo $fs/usr/lib
31 strip -s $fs/usr/lib/dillo/dpi/*/*
32 chmod +x $fs/usr/bin/*
33 # Config files with custom dillorc to have webhome
34 cp -a $install/etc $fs
35 cp -a $stuff/dillorc $fs/etc/dillo
36 cp -a $stuff/webhome $fs/usr/share
37 # Dillo version for user agent string
38 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
39 chown -R root.root $fs
40 DEPENDS="fltk libpng16 jpeg zlib openssl xorg-libX11 gcc-lib-base"
41 TAGS="web-browser"
42 }