wok-next view enchant/receipt @ rev 15630

php: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 09:19:03 2013 +0000 (2013-12-09)
parents cb7d3e73c9fa
children 128aae84d74c
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"
15 DEPENDS="dbus dbus-glib glib gcc-lib-base"
16 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/enchant $fs/usr/lib
37 rm $fs/usr/lib/enchant/*.*a
38 cp -a $install/usr/share/enchant $fs/usr/share
39 }