wok view aspell/receipt @ rev 25723

added recipe for xfce4-mixer-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:43:37 2024 +0100 (2 months ago)
parents 38b8a2522327
children
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="https://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 }