wok view searchmonkey/receipt @ rev 24568

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