wok-next view enchant/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children | 59c6b07cb8eb |
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://abiword.github.io/enchant/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/enchant.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/AbiWord/enchant/releases/download/enchant-${VERSION//./-}/$TARBALL"
15 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev"
16 SPLIT="$PACKAGE-aspell $PACKAGE-hunspell $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 *-aspell)
28 copy libenchant_aspell.so
29 CAT="text|aspell backend"
30 DEPENDS="aspell enchant glib"
31 ;;
32 *-hunspell)
33 copy libenchant_myspell.so
34 CAT="text|hunspell backend"
35 DEPENDS="enchant glib hunspell"
36 ;;
37 enchant)
38 copy @std @rm
39 DEPENDS="glib"
40 SUGGESTED="aspell"
41 TAGS="spell check"
42 ;;
43 *-dev)
44 copy @dev *.la
45 DEPENDS="enchant enchant-aspell enchant-hunspell glib-dev"
46 ;;
47 esac
48 }