wok view enchant2/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 5ea0ce1cecc0 |
children | 65784e875d45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant2"
4 VERSION="2.3.2"
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="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/AbiWord/$SOURCE/releases/download/v$VERSION/$SOURCE-$VERSION.tar.gz"
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 current_version()
23 {
24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/enchant-2 $fs/usr/lib
48 rm $fs/usr/lib/enchant-2/*.*a
49 cp -a $install/usr/share/enchant $fs/usr/share
50 }