wok annotate hunspell/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (5 weeks ago)
parents 5ea0ce1cecc0
children
rev   line source
pascal@17956 1 # SliTaz package receipt.
pascal@17956 2
pascal@17956 3 PACKAGE="hunspell"
Hans-G?nter@22936 4 VERSION="1.7.0"
pascal@17956 5 CATEGORY="system-tools"
pascal@17956 6 SHORT_DESC="A spell checker."
pascal@17956 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17956 8 LICENSE="GPL2 LGPL2.1 MPL"
Hans-G?nter@22936 9 WEB_SITE="https://hunspell.github.io/"
Hans-G?nter@22936 10
pascal@17956 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22936 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@22936 13
Hans-G?nter@22936 14 BUILD_DEPENDS="autoconf automake libtool"
pascal@17956 15
pascal@25599 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25599 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
pascal@17956 23 # Rules to configure and make the package.
pascal@17956 24 compile_rules()
pascal@17956 25 {
Hans-G?nter@22937 26 autoreconf -vfi &&
Hans-G?nter@22936 27 ./configure \
Hans-G?nter@22936 28 --prefix=/usr \
Hans-G?nter@22936 29 --infodir=/usr/share/info \
Hans-G?nter@22936 30 --mandir=/usr/share/man \
Hans-G?nter@22936 31 --disable-nls \
Hans-G?nter@22936 32 $CONFIGURE_ARGS &&
pascal@17956 33 make &&
Hans-G?nter@22936 34 make DESTDIR=$DESTDIR install
pascal@17956 35 }
pascal@17956 36
pascal@17956 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17956 38 genpkg_rules()
pascal@17956 39 {
pascal@17956 40 mkdir -p $fs/usr/lib
Hans-G?nter@22936 41
Hans-G?nter@22936 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22936 43 cp -a $install/usr/bin $fs/usr
pascal@17956 44 }