wok-next view xombrero/receipt @ rev 19915

Up xombrero
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 13 16:45:56 2017 +0300 (2017-10-13)
parents 919c384354f4
children 56b0a5df697d
line source
1 # SliTaz package receipt v2.
3 # From official github repo:
4 # xombrero has been retired and is no longer under development and supported.
5 PACKAGE="xombrero"
6 VERSION="1.6.4.7" # Latest release 1.6.4 + 7 commits
7 COMMIT="28d1406"
8 CATEGORY="network"
9 SHORT_DESC="A minimalist web browser with sophisticated security features"
10 MAINTAINER="claudinei@slitaz.org"
11 LICENSE="ISC"
12 WEB_SITE="https://github.com/conformal/xombrero"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/conformal/xombrero/archive/$COMMIT.tar.gz"
17 BUILD_DEPENDS="glib-dev gtk+-dev webkitgtk-dev libsoup-dev gnutls-dev \
18 libbsd-dev perl mdocml" # groff absent yet, so we use mdocml and patch
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|'
24 cp -f $stuff/xombrero.desktop .
25 sed -i 's|https://www.cyphertite.com|http://www.slitaz.org/|' \
26 xombrero.c xombrero.conf xombrero.h
27 sed -i 's|/etc/ssl/cert.pem|/etc/ssl/ca-bundle.crt|' xombrero.conf
28 sed -i 's|gtk+-2.0|& javascriptcoregtk-1.0|; s|gnutls|& libbsd|' linux/Makefile
30 make -j1 PREFIX="/usr" -C linux GTK_VERSION="gtk2" install || return 1
32 cp $stuff/xombrero.conf $install/etc
34 # Link icons
35 for size in 16 32 48 64 128 256; do
36 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps
37 ln -s ../../../../xombrero/xombreroicon$size.png \
38 $install/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
39 done
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 copy @std
46 CONFIG_FILES="/etc/xombrero.conf"
47 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libbsd \
48 libgnutls libsoup pango webkitgtk xorg-libX11"
49 TAGS="web-browser"
50 }