wok view aspell/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents 095836df71b7
children c3a6f662a1c1
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 patch --strip=1 --input=$stuff/patches/CVE-2019-25051 &&
31 ./configure \
32 LDFLAGS="$LDFLAGS -ltinfo" \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/aspell* $fs/usr/lib
47 # Remove unneeded files
48 rm -f $fs/usr/lib/aspell*/*.*a
49 }