wok-next view enchant/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents b1168ea8cdc7
children d5aab818505e
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 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 }