wok-6.x view aspell-it/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 | 095836df71b7 |
children | c3a6f662a1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-it"
4 VERSION="2.4-20070901-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Italian aspell dictionary."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
11 SOURCE="aspell6-it"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/linguistico/$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 - 'https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20Aspell/' 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/Dizionario%20italiano%20per%20Aspell/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/* $fs/usr/lib
39 }