wok-6.x annotate gtkspell/receipt @ rev 25053
Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 19:53:43 2022 +0000 (2022-06-05) |
parents | c72d83acf68f |
children | 4c101652eb90 |
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" |
Hans-G?nter@22794 | 9 WEB_SITE="http://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@24361 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 } |