wok-next view enchant/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 128aae84d74c |
children | ab7c63b80420 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="enchant"
4 VERSION="1.6.1"
5 CATEGORY="text"
6 SHORT_DESC="Enchant spell checking library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://abiword.github.io/enchant/"
10 TAGS="spell check"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/AbiWord/enchant/releases/download/enchant-${VERSION//./-}/$TARBALL"
16 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev"
17 SPLIT="enchant-aspell enchant-hunspell enchant-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 enchant)
30 copy @std
31 find $fs \( -name libenchant_aspell.so -o -name libenchant_myspell.so \) -delete
32 SUGGESTED="aspell"
33 ;;
34 enchant-aspell)
35 copy libenchant_aspell.so
36 CAT="text|aspell backend"
37 DEPENDS="enchant aspell"
38 ;;
39 enchant-hunspell)
40 copy libenchant_myspell.so
41 CAT="text|hunspell backend"
42 DEPENDS="enchant hunspell"
43 ;;
44 enchant-dev)
45 copy @dev
46 DEPENDS="enchant enchant-aspell enchant-hunspell aspell hunspell \
47 glib-dev pcre-dev"
48 ;;
49 esac
50 }