wok annotate xombrero/receipt @ rev 24976
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 06 11:04:25 2022 +0000 (2022-05-06) |
parents | 922f061231c2 |
children | ea7c7014b421 |
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" |
pascal@24976 | 11 WGET_URL="$WEB_SITE/archive/refs/tags/XOMBRERO_${VERSION//._/}.tar.gz" |
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 |
pascal@24304 | 20 # What is the latest version available today? |
pascal@24304 | 21 current_version() |
pascal@24304 | 22 { |
pascal@24304 | 23 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24304 | 24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24304 | 25 } |
pascal@24304 | 26 |
claudinei@14896 | 27 # Rules to configure and make the package. |
claudinei@14896 | 28 compile_rules() |
claudinei@14896 | 29 { |
pascal@17983 | 30 find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|' |
al@18176 | 31 cp -f $stuff/xombrero.desktop . |
claudinei@14896 | 32 make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install |
claudinei@14896 | 33 } |
claudinei@14896 | 34 |
claudinei@14896 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14896 | 36 genpkg_rules() |
claudinei@14896 | 37 { |
al@18176 | 38 mkdir -p $fs/etc |
claudinei@14896 | 39 cp -a $install/* $fs |
claudinei@14896 | 40 cp $stuff/xombrero.conf $fs/etc |
al@18176 | 41 |
al@18176 | 42 # Link icons |
al@18176 | 43 for size in 16 32 48 64 128 256; do |
al@18176 | 44 mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps |
al@18176 | 45 ln -s /usr/share/xombrero/xombreroicon$size.png \ |
al@18176 | 46 $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png |
al@18176 | 47 done |
claudinei@14896 | 48 } |