wok-6.x view enchant/receipt @ rev 3895

xorg-xrdb: update DEPENDS.
author Liu Peng <rocky@slitaz.org>
date Fri Aug 14 13:17:20 2009 +0000 (2009-08-14)
parents ecb146e32c08
children 31c985a0bd3d
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Enchant spell checking library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="dbus dbus-glib glib"
9 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev"
10 SUGGESTED="aspell"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.abisource.com/projects/enchant/"
13 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
34 rm $fs/usr/lib/enchant/*.*a
35 cp -a $_pkg/usr/share/enchant $fs/usr/share
36 }