wok view aspell/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 ecf6a1a7b559
children 38b8a2522327
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell"
4 VERSION="0.60.8"
5 CATEGORY="system-tools"
6 TAGS="spell check"
7 SHORT_DESC="GNU spell checker."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="LGPL2"
10 WEB_SITE="http://aspell.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$TARBALL"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="libtinfo ncursesw-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -ltinfo"
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/aspell* $fs/usr/lib
45 # Remove unneeded files
46 rm -f $fs/usr/lib/aspell*/*.*a
47 }