# SliTaz package receipt. PACKAGE="xombrero" VERSION="1.6.4" CATEGORY="network" SHORT_DESC="A minimalist web browser with sophisticated security features." MAINTAINER="claudinei@slitaz.org" LICENSE="ISC" WEB_SITE="https://github.com/conformal/xombrero" TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="$WEB_SITE/archive/refs/tags/XOMBRERO_${VERSION//./_}.tar.gz" CONFIG_FILES="/etc/xombrero.conf" TAGS="web-browser" SUGGESTED="cacerts" DEPENDS="gtk+ libwebkit libbsd" BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \ groff wget" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' } # Rules to configure and make the package. compile_rules() { find -type f -print0 | xargs -0 sed -i 's|/usr/local|/usr|' cp -f $stuff/xombrero.desktop . make PREFIX="/usr" -C linux GTK_VERSION="gtk2" install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc cp -a $install/* $fs cp $stuff/xombrero.conf $fs/etc # Link icons for size in 16 32 48 64 128 256; do mkdir -p $fs/usr/share/icons/hicolor/${size}x$size/apps ln -s /usr/share/xombrero/xombreroicon$size.png \ $fs/usr/share/icons/hicolor/${size}x$size/apps/xombrero.png done }