wok annotate gtkspell/receipt @ rev 25605

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 10:59:53 2023 +0000 (10 months ago)
parents 4c101652eb90
children
rev   line source
allan316@3204 1 # SliTaz package receipt.
allan316@3204 2
allan316@3204 3 PACKAGE="gtkspell"
slaxemulator@6307 4 VERSION="2.0.16"
allan316@3204 5 CATEGORY="development"
allan316@3204 6 SHORT_DESC="provides highlighting and replacement of misspelled words"
allan316@3204 7 MAINTAINER="allan316@gmail.com"
pascal@15000 8 LICENSE="GPL2"
pascal@25467 9 WEB_SITE="https://gtkspell.sourceforge.net"
Hans-G?nter@22794 10
allan316@3204 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3204 12 WGET_URL="$WEB_SITE/download/$TARBALL"
Hans-G?nter@22794 13
Hans-G?nter@22794 14 DEPENDS="cairo enchant gtk+"
Hans-G?nter@22794 15 BUILD_DEPENDS="enchant-dev expat-dev gtk+-dev pkg-config"
Hans-G?nter@22794 16
pankso@16248 17 HOST_ARCH="i486 arm"
allan316@3204 18
pascal@24361 19 # What is the latest version available today?
pascal@24361 20 current_version()
pascal@24361 21 {
pascal@24361 22 wget -O - https://sourceforge.net/projects/gtkspell/files/ 2>/dev/null | \
pascal@25605 23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 24 sed '/scope="row/!d;s|.*/gtkspell/files/||;s|/.*||;q'
pascal@24361 25 }
pascal@24361 26
allan316@3204 27 # Rules to configure and make the package.
allan316@3204 28 compile_rules()
allan316@3204 29 {
Hans-G?nter@22794 30 ./configure \
allan316@3204 31 $CONFIGURE_ARGS &&
Hans-G?nter@22794 32 make &&
Hans-G?nter@22794 33 make install
allan316@3204 34 }
allan316@3204 35
allan316@3204 36 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3204 37 genpkg_rules()
allan316@3204 38 {
allan316@3204 39 mkdir -p $fs/usr
slaxemulator@13060 40 cp -a $install/usr/lib $fs/usr
allan316@3204 41 }