wok-next view enchant/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | ab7c63b80420 |
children | 757d032c55c7 |
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/stable/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="enchant-aspell enchant-hunspell enchant enchant-dev"
18 compile_rules() {
19 fix ld &&
20 ./configure $CONFIGURE_ARGS && fix libtool && make && make install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 enchant-aspell)
26 copy libenchant_aspell.so
27 CAT="text|aspell backend"
28 DEPENDS="enchant aspell"
29 ;;
30 enchant-hunspell)
31 copy libenchant_myspell.so
32 CAT="text|hunspell backend"
33 DEPENDS="enchant hunspell"
34 ;;
35 enchant)
36 copy @std @rm
37 DEPENDS="glib"
38 SUGGESTED="aspell"
39 TAGS="spell check"
40 ;;
41 enchant-dev)
42 copy @dev
43 DEPENDS="enchant enchant-aspell enchant-hunspell aspell hunspell \
44 glib-dev pcre-dev"
45 ;;
46 esac
47 }