wok view enchant2/receipt @ rev 23052

gnustep-base: fix libffi path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 17:04:10 2020 +0100 (2020-03-06)
parents 736b965f54dc
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant2"
4 VERSION="2.2.7"
5 CATEGORY="x-window"
6 TAGS="spell check"
7 SHORT_DESC="Enchant spell checking library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.abisource.com/projects/enchant/"
12 SOURCE="enchant"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/AbiWord/$SOURCE/releases/download/v$VERSION/$TARBALL"
16 SUGGESTED="aspell"
17 DEPENDS="dbus dbus-glib gcc83-lib-base glib"
18 BUILD_DEPENDS="aspell-dev gcc83 glib-dev pkg-config"
20 HOST_ARCH="i486 arm"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 CC=gcc-83 \
27 CXX=g++-83 \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/enchant-2 $fs/usr/lib
42 rm $fs/usr/lib/enchant-2/*.*a
43 cp -a $install/usr/share/enchant $fs/usr/share
44 }