wok-current annotate xombrero/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 1805f71c5d9f |
children |
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@25060 | 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 } |