wok-current view enchant2/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | fd8dfbdbc24d |
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 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 }