wok view xombrero/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 6135577f4d08 |
children | 1805f71c5d9f |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|'
31 cp -f $stuff/xombrero.desktop .
32 make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc
39 cp -a $install/* $fs
40 cp $stuff/xombrero.conf $fs/etc
42 # Link icons
43 for size in 16 32 48 64 128 256; do
44 mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps
45 ln -s /usr/share/xombrero/xombreroicon$size.png \
46 $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
47 done
48 }