wok view xombrero/receipt @ rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (2021-10-04)
parents 919c384354f4
children 922f061231c2
line source
1 # SliTaz package receipt.
3 PACKAGE="xombrero"
4 VERSION="1.6.4"
5 CATEGORY="network"
6 SHORT_DESC="A minimalist web browser with sophisticated security features."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://github.com/conformal/xombrero"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="https://opensource.conformal.com/snapshots/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/xombrero.conf"
13 TAGS="web-browser"
15 SUGGESTED="cacerts"
16 DEPENDS="gtk+ libwebkit libbsd"
17 BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \
18 groff wget"
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 make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc
32 cp -a $install/* $fs
33 cp $stuff/xombrero.conf $fs/etc
35 # Link icons
36 for size in 16 32 48 64 128 256; do
37 mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps
38 ln -s /usr/share/xombrero/xombreroicon$size.png \
39 $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
40 done
41 }