wok-6.x view aspell-pt_PT/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 5c0f02c6ca40
children 5f6c5106b1f5
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-pt_PT"
4 VERSION="20190329.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Portuguese aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
11 SOURCE="aspell6-pt_PT"
12 TARBALL="$SOURCE-${VERSION//./-}.tar.bz2"
13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/pt_PT/$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|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/* $fs/usr/lib
38 }