wok annotate dillo/receipt @ rev 22898

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