wok-next annotate xombrero/receipt @ rev 20632

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