wok-next view enchant/receipt @ rev 21597

updated dosbox (0.74-2 -> 0.74.3)
author Hans-G?nter Theisgen
date Wed Jun 24 14:18:09 2020 +0100 (2020-06-24)
parents d5aab818505e
children dc288d9b8c75
line source
1 # SliTaz package receipt v2.
3 PACKAGE="enchant"
4 VERSION="2.2.3"
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/v$VERSION/$TARBALL"
14 TARBALL_SHA1="181d5563d282af0f30c7ab68c5d432271b6fd11e"
16 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev"
17 SPLIT="$PACKAGE-aspell $PACKAGE-hunspell $PACKAGE-dev $PACKAGE"
19 COPY_aspell="enchant_aspell.so"
20 COPY_hunspell="enchant_hunspell.so"
21 COPY_dev="@dev *.la *.so @rm"
23 CAT_aspell="text|aspell backend"
24 CAT_hunspell="text|hunspell backend"
26 DEPENDS_aspell="$PACKAGE aspell glib"
27 DEPENDS_hunspell="$PACKAGE glib hunspell"
28 DEPENDS_std="glib"
29 DEPENDS_dev="$PACKAGE $PACKAGE-aspell $PACKAGE-hunspell glib-dev"
31 SUGGESTED_std="aspell"
32 TAGS_std="spell check"
34 compile_rules() {
35 ./configure \
36 --disable-static \
37 $CONFIGURE_ARGS &&
38 fix libtool &&
39 make &&
40 make install || return 1
42 # compatibility with old enchant
43 ln -sfv enchant-2 $install/usr/include/enchant
44 ln -sfv enchant-2 $install/usr/bin/enchant
45 ln -sfv libenchant-2.so $install/usr/lib/libenchant.so
46 ln -sfv enchant-2.pc $install/usr/lib/pkgconfig/enchant.pc
47 }