wok annotate aspell-nl/receipt @ rev 24340
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 31 11:41:46 2022 +0000 (2022-01-31) |
parents | 5075d5ce24d0 |
children | c3a6f662a1c1 |
rev | line source |
---|---|
paul@7225 | 1 # SliTaz package receipt. |
paul@7225 | 2 |
paul@7225 | 3 PACKAGE="aspell-nl" |
Hans-G?nter@24328 | 4 VERSION="0.50.2" |
paul@7225 | 5 CATEGORY="system-tools" |
paul@7225 | 6 SHORT_DESC="Dutch aspell dictionary." |
paul@7225 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL" |
paul@7225 | 9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" |
Hans-G?nter@24328 | 10 |
Hans-G?nter@24329 | 11 TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}.tar.bz2" |
paul@7225 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/nl/$TARBALL" |
paul@7225 | 13 |
pascal@15361 | 14 DEPENDS="aspell" |
pascal@15361 | 15 BUILD_DEPENDS="aspell aspell-dev" |
pascal@15361 | 16 |
pascal@24326 | 17 # What is the latest version available today? |
pascal@24326 | 18 current_version() |
pascal@24326 | 19 { |
pascal@24326 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24340 | 21 sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" |
pascal@24326 | 22 } |
pascal@24326 | 23 |
paul@7225 | 24 # Rules to configure and make the package. |
paul@7225 | 25 compile_rules() |
paul@7225 | 26 { |
Hans-G?nter@24328 | 27 ./configure && |
Hans-G?nter@24328 | 28 make && |
Hans-G?nter@24328 | 29 make install DESTDIR=$DESTDIR |
paul@7225 | 30 } |
paul@7225 | 31 |
paul@7225 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7225 | 33 genpkg_rules() |
paul@7225 | 34 { |
Hans-G?nter@24328 | 35 cook_copy_folders lib |
paul@7225 | 36 } |