wok-next view enchant/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | 342b30daff76 |
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 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 enchant-aspell)
28 copy libenchant_aspell.so
29 CAT="text|aspell backend"
30 DEPENDS="enchant aspell"
31 ;;
32 enchant-hunspell)
33 copy libenchant_myspell.so
34 CAT="text|hunspell backend"
35 DEPENDS="enchant hunspell"
36 ;;
37 enchant)
38 copy @std @rm
39 DEPENDS="glib"
40 SUGGESTED="aspell"
41 TAGS="spell check"
42 ;;
43 enchant-dev)
44 copy @dev
45 DEPENDS="enchant enchant-aspell enchant-hunspell aspell hunspell \
46 glib-dev pcre-dev"
47 ;;
48 esac
49 }