wok-current view aspell-es/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 095836df71b7
children c3a6f662a1c1
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-es"
4 VERSION="1.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Spanish aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="aspell6-es"
10 TARBALL="$SOURCE-$VERSION-2.tar.bz2"
11 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/es/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="aspell"
16 BUILD_DEPENDS="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 && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/* $fs/usr/lib
37 }