wok annotate searchmonkey/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 39d2a33adb2a
children 29df00e1e19d
rev   line source
pankso@533 1 # SliTaz package receipt
pankso@533 2
pankso@533 3 PACKAGE="searchmonkey"
Hans-G?nter@21897 4 VERSION="0.8.3"
pascal@741 5 CATEGORY="utilities"
pankso@533 6 SHORT_DESC="A fast real-time search engine using GTK+."
pankso@533 7 MAINTAINER="pankso@slitaz.org"
pascal@15282 8 LICENSE="LGPL2.1"
Hans-G?nter@21897 9 WEB_SITE="http://searchmonkey.embeddediq.com/index.php"
Hans-G?nter@21897 10
pankso@533 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@533 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@533 13
pascal@15282 14 DEPENDS="gtk+ libglade xorg-libXdamage"
Hans-G?nter@21897 15 BUILD_DEPENDS="gtk+-dev libglade-dev libzip-dev poppler-dev xorg-libXdamage-dev"
pascal@15282 16
pascal@24348 17 # What is the latest version available today?
pascal@24348 18 current_version()
pascal@24348 19 {
pascal@24348 20 wget -O - 'https://sourceforge.net/projects/searchmonkey/files/gSearchmonkey%20GTK%20(Gnome)/' 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*/gSearchmonkey%20GTK%20%28Gnome%29/||;s|%20.*||;q'
pascal@24348 23 }
pascal@24348 24
pankso@533 25 # Rules to configure and make the package.
pankso@533 26 compile_rules()
pankso@533 27 {
slaxemulator@9039 28 ./configure &&
pascal@2524 29 make &&
slaxemulator@9039 30 make install
pankso@533 31 }
pankso@533 32
pankso@533 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@533 34 genpkg_rules()
pankso@533 35 {
slaxemulator@9039 36 mkdir -p $fs/usr
pascal@15282 37 cp -a $install/usr/bin $fs/usr
pankso@533 38 }