wok-6.x view xombrero/receipt @ rev 19603

Up kmod (23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 03 14:47:54 2017 +0100 (2017-01-03)
parents 87a2f75d7a93
children 6135577f4d08
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://opensource.conformal.com/wiki/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 }