wok view gtkspell3/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 932cd974e081
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkspell3"
4 VERSION="3.0.10"
5 CATEGORY="text"
6 SHORT_DESC="On-the-fly spell checking for GtkTextView widgets."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gtkspell/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/gtkspell/$TARBALL"
14 SUGGESTED="gtkspell3-lang"
15 DEPENDS="enchant gtk+3 libxml2"
16 BUILD_DEPENDS="aspell-dev enchant2-dev gobject-introspection gtk+3-dev
17 gtk-doc libxml2-dev vala"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/gtkspell/files/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's|/usr/bin/sh|/bin/sh|' build/install-sh
34 ./configure \
35 --disable-dependency-tracking \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_files *.so*
45 }