wok annotate xombrero/receipt @ rev 20782

added libtool to check build dependencies
author Hans-G?nter Theisgen
date Thu Feb 14 14:57:20 2019 +0100 (2019-02-14)
parents 919c384354f4
children 922f061231c2
rev   line source
claudinei@14896 1 # SliTaz package receipt.
claudinei@14896 2
claudinei@14896 3 PACKAGE="xombrero"
pascal@17983 4 VERSION="1.6.4"
al@17501 5 CATEGORY="network"
claudinei@14896 6 SHORT_DESC="A minimalist web browser with sophisticated security features."
claudinei@14896 7 MAINTAINER="claudinei@slitaz.org"
pascal@14899 8 LICENSE="ISC"
pascal@20679 9 WEB_SITE="https://github.com/conformal/xombrero"
al@17501 10 TARBALL="$PACKAGE-$VERSION.tgz"
claudinei@14896 11 WGET_URL="https://opensource.conformal.com/snapshots/$PACKAGE/$TARBALL"
al@18176 12 CONFIG_FILES="/etc/xombrero.conf"
al@17501 13 TAGS="web-browser"
claudinei@14896 14
al@18176 15 SUGGESTED="cacerts"
claudinei@14896 16 DEPENDS="gtk+ libwebkit libbsd"
claudinei@14896 17 BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \
claudinei@14896 18 groff wget"
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 .
claudinei@14896 25 make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install
claudinei@14896 26 }
claudinei@14896 27
claudinei@14896 28 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@14896 29 genpkg_rules()
claudinei@14896 30 {
al@18176 31 mkdir -p $fs/etc
claudinei@14896 32 cp -a $install/* $fs
claudinei@14896 33 cp $stuff/xombrero.conf $fs/etc
al@18176 34
al@18176 35 # Link icons
al@18176 36 for size in 16 32 48 64 128 256; do
al@18176 37 mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps
al@18176 38 ln -s /usr/share/xombrero/xombreroicon$size.png \
al@18176 39 $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png
al@18176 40 done
claudinei@14896 41 }