wok-current view enchant/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 7e16db4fdc4a |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant"
4 VERSION="1.6.0"
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="http://www.abisource.com/projects/enchant/"
12 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
13 TAGS="spell check"
14 HOST_ARCH="i486 arm"
16 DEPENDS="dbus dbus-glib glib gcc-lib-base"
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 $fs/usr/lib
40 rm $fs/usr/lib/enchant/*.*a
41 cp -a $install/usr/share/enchant $fs/usr/share
42 }