wok-current view enchant/receipt @ rev 2458
pcmanfm: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 10:07:15 2009 +0000 (2009-03-14) |
parents | 52dc4b48ed81 |
children | ecb146e32c08 |
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="aspell"
9 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
33 rm $fs/usr/lib/enchant/*.*a
34 cp -a $_pkg/usr/share/enchant $fs/usr/share
35 }