wok view hunspell/receipt @ rev 25455

oldrunner: update man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 22 09:40:04 2022 +0000 (2022-09-22)
parents cc5eb0eba63e
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="hunspell"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A spell checker."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 MPL"
9 WEB_SITE="https://hunspell.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="autoconf automake libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 autoreconf -vfi &&
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-nls \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR 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/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 }