wok view enchant2/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | f2b4a9eb8bdd |
children |
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://github.com/AbiWord/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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 CC=gcc-83 \
34 CXX=g++-83 \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/enchant-2 $fs/usr/lib
49 rm $fs/usr/lib/enchant-2/*.*a
50 cp -a $install/usr/share/enchant $fs/usr/share
51 }