wok-current view aspell-ru/receipt @ rev 24384
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 16:04:43 2022 +0000 (2022-02-06) |
parents | 41a5254285d8 |
children | c3a6f662a1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-ru"
4 VERSION="0.99f7.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Russian aspell dictionary."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
11 SOURCE="aspell6-ru"
12 TARBALL="$SOURCE-${VERSION%.*}-${VERSION##*.}.tar.bz2"
13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/ru/$TARBALL"
15 DEPENDS="aspell"
16 BUILD_DEPENDS="aspell aspell-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders lib
37 }