wok-next view enchant/receipt @ rev 20418

Add mdiedit, xlunch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 10 17:32:40 2018 +0200 (2018-01-10)
parents 9278a60d6895
children c4e53a39395a
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"
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 enchant-dev"
19 compile_rules() {
20 fix ld &&
21 ./configure $CONFIGURE_ARGS && fix libtool && make && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 enchant-aspell)
27 copy libenchant_aspell.so
28 CAT="text|aspell backend"
29 DEPENDS="enchant aspell"
30 ;;
31 enchant-hunspell)
32 copy libenchant_myspell.so
33 CAT="text|hunspell backend"
34 DEPENDS="enchant hunspell"
35 ;;
36 enchant)
37 copy @std @rm
38 DEPENDS="glib"
39 SUGGESTED="aspell"
40 TAGS="spell check"
41 ;;
42 enchant-dev)
43 copy @dev
44 DEPENDS="enchant enchant-aspell enchant-hunspell aspell hunspell \
45 glib-dev pcre-dev"
46 ;;
47 esac
48 }