wok-6.x view aspell-sl/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 | 191b99ca9dc2 |
children | 41a5254285d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-sl"
4 VERSION="0.50-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Slovenian aspell dictionary."
7 MAINTAINER="erjo@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/sl/$TARBALL"
13 DEPENDS="aspell"
14 BUILD_DEPENDS="aspell aspell-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure && \
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/* $fs/usr/lib
35 }