wok-next view xombrero/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | fb44b3dea8c4 |
children | f66f18161f93 |
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 mkdir -p $install/etc
33 cp $stuff/xombrero.conf $install/etc
35 # Link icons
36 for size in 16 32 48 64 128 256; do
37 mkdir -p $install/usr/share/icons/hicolor/${size}x$size/apps
38 ln -s ../../../../xombrero/xombreroicon$size.png \
39 $install/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
40 done
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 copy @std
47 CONFIG_FILES="/etc/xombrero.conf"
48 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libbsd \
49 libgnutls libsoup pango webkitgtk xorg-libX11"
50 TAGS="web-browser"
51 }