wok annotate aspell-sl/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 5075d5ce24d0 |
children | c3a6f662a1c1 |
rev | line source |
---|---|
erjo@4716 | 1 # SliTaz package receipt. |
erjo@4716 | 2 |
erjo@4716 | 3 PACKAGE="aspell-sl" |
Hans-G?nter@24328 | 4 VERSION="0.50.0" |
erjo@4716 | 5 CATEGORY="system-tools" |
erjo@4716 | 6 SHORT_DESC="Slovenian aspell dictionary." |
erjo@4716 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
erjo@4716 | 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" |
erjo@4716 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/sl/$TARBALL" |
erjo@4716 | 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 |
erjo@4716 | 24 # Rules to configure and make the package. |
erjo@4716 | 25 compile_rules() |
erjo@4716 | 26 { |
Hans-G?nter@24328 | 27 ./configure && |
Hans-G?nter@24328 | 28 make && |
Hans-G?nter@24328 | 29 make install DESTDIR=$DESTDIR |
erjo@4716 | 30 } |
erjo@4716 | 31 |
erjo@4716 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4716 | 33 genpkg_rules() |
erjo@4716 | 34 { |
Hans-G?nter@24328 | 35 cook_copy_folders lib |
erjo@4716 | 36 } |