wok-next view enchant/receipt @ rev 1511

Update some BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 23:16:15 2008 +0000 (2008-10-05)
parents 3e8ffa6ff731
children 52dc4b48ed81
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 BUILD_DEPENDS="pkg-config glib"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.abisource.com/projects/enchant/"
11 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
32 rm $fs/usr/lib/enchant/*.*a
33 cp -a $_pkg/usr/share/enchant $fs/usr/share
34 }