wok view aspell-fr/receipt @ rev 25532
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:46:05 2023 +0000 (20 months ago) |
parents | 128aae84d74c |
children | c3a6f662a1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-fr"
4 VERSION="0.50-3"
5 CATEGORY="system-tools"
6 SHORT_DESC="French aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/fr/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="aspell"
15 BUILD_DEPENDS="aspell-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/* $fs/usr/lib
36 }