wok-next annotate hunspell/receipt @ rev 19791
linux-libre: use gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 23 09:57:52 2017 +0200 (2017-06-23) |
parents | c11b812cd39a |
children | 0ec6086e21d6 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pascal@17956 | 2 |
pascal@17956 | 3 PACKAGE="hunspell" |
al@19741 | 4 VERSION="1.6.1" |
pascal@17956 | 5 CATEGORY="system-tools" |
al@19741 | 6 SHORT_DESC="A spell checker" |
pascal@17956 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17956 | 8 LICENSE="GPL2 LGPL2.1 MPL" |
al@19741 | 9 WEB_SITE="http://hunspell.github.io/" |
al@19741 | 10 |
pascal@17956 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="https://github.com/hunspell/hunspell/archive/v$VERSION.tar.gz" |
al@19741 | 13 |
al@19741 | 14 BUILD_DEPENDS="automake libtool gettext" |
al@19741 | 15 SPLIT="hunspell-dev" |
pascal@17956 | 16 |
pascal@17956 | 17 # Rules to configure and make the package. |
pascal@17956 | 18 compile_rules() |
pascal@17956 | 19 { |
al@19741 | 20 autoreconf -vfi && |
al@19741 | 21 rm $src/po/stamp-po && |
al@19741 | 22 |
al@19741 | 23 ./configure $CONFIGURE_ARGS && |
pascal@17956 | 24 make && |
al@19741 | 25 make -j1 DESTDIR=$DESTDIR install |
pascal@17956 | 26 } |
pascal@17956 | 27 |
pascal@17956 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17956 | 29 genpkg_rules() |
pascal@17956 | 30 { |
al@19741 | 31 case $PACKAGE in |
al@19741 | 32 hunspell) copy @std ;; |
al@19741 | 33 hunspell-dev) copy @dev ;; |
al@19741 | 34 esac |
pascal@17956 | 35 } |