wok-next diff hunspell/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | c11b812cd39a |
children | 0ec6086e21d6 |
line diff
1.1 --- a/hunspell/receipt Thu Apr 16 13:27:06 2015 +0200 1.2 +++ b/hunspell/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -1,29 +1,35 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="hunspell" 1.8 -VERSION="1.3.3" 1.9 +VERSION="1.6.1" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="A spell checker." 1.12 +SHORT_DESC="A spell checker" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2 LGPL2.1 MPL" 1.15 +WEB_SITE="http://hunspell.github.io/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://hunspell.sourceforge.net/" 1.19 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 +WGET_URL="https://github.com/hunspell/hunspell/archive/v$VERSION.tar.gz" 1.21 + 1.22 +BUILD_DEPENDS="automake libtool gettext" 1.23 +SPLIT="hunspell-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.29 - --mandir=/usr/share/man \ 1.30 - $CONFIGURE_ARGS && 1.31 + autoreconf -vfi && 1.32 + rm $src/po/stamp-po && 1.33 + 1.34 + ./configure $CONFIGURE_ARGS && 1.35 make && 1.36 - make -j 1 DESTDIR=$DESTDIR install 1.37 + make -j1 DESTDIR=$DESTDIR install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr/lib 1.44 - cp -a $install/usr/lib/*.so $fs/usr/lib 1.45 - cp -a $install/usr/bin $fs/usr 1.46 + case $PACKAGE in 1.47 + hunspell) copy @std ;; 1.48 + hunspell-dev) copy @dev ;; 1.49 + esac 1.50 }