wok-current view aspell-en/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 | 0123277a9e00 |
children | c3a6f662a1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-en"
4 VERSION="2020.12.07.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="English aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="PublicDomain"
9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
11 SOURCE="aspell6-en"
12 TARBALL="$SOURCE-${VERSION%.*}-${VERSION##*.}.tar.bz2"
13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/en/$TARBALL"
15 DEPENDS="aspell"
16 BUILD_DEPENDS="aspell-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }