wok annotate aspell/receipt @ rev 24814

updated libnfc and libnfc-dev (1.7.1 -> 1.8.0)
author Hans-G?nter Theisgen
date Tue Mar 22 17:39:27 2022 +0100 (2022-03-22)
parents 095836df71b7
children c3a6f662a1c1
rev   line source
paul@2098 1 # SliTaz package receipt.
paul@2098 2
paul@2098 3 PACKAGE="aspell"
Hans-G?nter@22495 4 VERSION="0.60.8"
paul@2098 5 CATEGORY="system-tools"
Hans-G?nter@22495 6 TAGS="spell check"
paul@2098 7 SHORT_DESC="GNU spell checker."
paul@2098 8 MAINTAINER="paul@slitaz.org"
pascal@15201 9 LICENSE="LGPL2"
al@19275 10 WEB_SITE="http://aspell.net/"
Hans-G?nter@20723 11
paul@2098 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@2098 13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$TARBALL"
paul@2098 14
pankso@16248 15 DEPENDS="ncursesw"
Hans-G?nter@22495 16 BUILD_DEPENDS="libtinfo ncursesw-dev"
Hans-G?nter@22495 17
Hans-G?nter@22495 18 HOST_ARCH="i486 arm"
pascal@15201 19
pascal@24326 20 # What is the latest version available today?
pascal@24326 21 current_version()
pascal@24326 22 {
pascal@24326 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24326 24 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24326 25 }
pascal@24326 26
paul@2098 27 # Rules to configure and make the package.
paul@2098 28 compile_rules()
paul@2098 29 {
Hans-G?nter@24362 30 patch --strip=1 --input=$stuff/patches/CVE-2019-25051 &&
Hans-G?nter@24362 31 ./configure \
Hans-G?nter@24362 32 LDFLAGS="$LDFLAGS -ltinfo" \
Hans-G?nter@24362 33 $CONFIGURE_ARGS &&
Hans-G?nter@20723 34 make &&
Hans-G?nter@20723 35 make install
paul@2098 36 }
paul@2098 37
paul@2098 38 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2098 39 genpkg_rules()
paul@2098 40 {
pankso@16248 41 mkdir -p $fs/usr/lib
Hans-G?nter@22495 42
Hans-G?nter@22495 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22495 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22495 45 cp -a $install/usr/lib/aspell* $fs/usr/lib
Hans-G?nter@22495 46
paul@2098 47 # Remove unneeded files
Hans-G?nter@22495 48 rm -f $fs/usr/lib/aspell*/*.*a
paul@2098 49 }