wok view aspell-da/receipt @ rev 24385

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 07 11:38:23 2022 +0000 (2022-02-07)
parents 099a66084bd8
children c3a6f662a1c1
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-da"
4 VERSION="1.6.36-11-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Danish 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-da"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/da/$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 install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders lib
37 }