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