wok-6.x annotate aspell-hu/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 191b99ca9dc2 |
children | 41a5254285d8 |
rev | line source |
---|---|
erjo@4716 | 1 # SliTaz package receipt. |
erjo@4716 | 2 |
erjo@4716 | 3 PACKAGE="aspell-hu" |
erjo@4716 | 4 VERSION="0.99.4.2-0" |
erjo@4716 | 5 CATEGORY="system-tools" |
erjo@4716 | 6 SHORT_DESC="Hungarian aspell dictionary." |
erjo@4716 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
erjo@4716 | 9 SOURCE="aspell6-hu" |
erjo@4716 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4716 | 11 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" |
erjo@4716 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/hu/$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@24326 | 21 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;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 { |
erjo@4716 | 27 ./configure && \ |
pascal@15361 | 28 make && make DESTDIR=$DESTDIR install |
erjo@4716 | 29 } |
erjo@4716 | 30 |
erjo@4716 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4716 | 32 genpkg_rules() |
erjo@4716 | 33 { |
erjo@4716 | 34 mkdir -p $fs/usr/lib |
pascal@15361 | 35 cp -a $install/usr/lib/* $fs/usr/lib |
erjo@4716 | 36 } |