wok annotate hunspell/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | cc5eb0eba63e |
children | 20ad21d5532c |
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@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@17956 | 22 # Rules to configure and make the package. |
pascal@17956 | 23 compile_rules() |
pascal@17956 | 24 { |
Hans-G?nter@22937 | 25 autoreconf -vfi && |
Hans-G?nter@22936 | 26 ./configure \ |
Hans-G?nter@22936 | 27 --prefix=/usr \ |
Hans-G?nter@22936 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@22936 | 29 --mandir=/usr/share/man \ |
Hans-G?nter@22936 | 30 --disable-nls \ |
Hans-G?nter@22936 | 31 $CONFIGURE_ARGS && |
pascal@17956 | 32 make && |
Hans-G?nter@22936 | 33 make DESTDIR=$DESTDIR install |
pascal@17956 | 34 } |
pascal@17956 | 35 |
pascal@17956 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17956 | 37 genpkg_rules() |
pascal@17956 | 38 { |
pascal@17956 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22936 | 40 |
Hans-G?nter@22936 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22936 | 42 cp -a $install/usr/bin $fs/usr |
pascal@17956 | 43 } |