wok-current view enchant/receipt @ rev 25697

Up apache (CVE-2023-38709, CVE-2024-24795, CVE-2024-27316), up libarchive, qemu, add amdgpu/touchpad support and clean modules.list, up website for repology
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 17:00:21 2024 +0000 (5 weeks ago)
parents 3ad63c8fc2f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant"
4 VERSION="2.3.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Enchant spell checking library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 SUGGESTED="aspell"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://abiword.github.io/enchant/"
12 WGET_URL="https://github.com/AbiWord/enchant/releases/download/v$VERSION/$TARBALL"
13 TAGS="spell check"
14 HOST_ARCH="i486 arm"
16 DEPENDS="dbus dbus-glib glib gcc-lib-base aspell"
17 BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/released/!d;s|.*Enchant ||;s| released.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/enchant-2 $fs/usr/lib
40 rm $fs/usr/lib/enchant-2/*.*a
41 cp -a $install/usr/share/enchant $fs/usr/share
42 }