wok-4.x view enchant/receipt @ rev 1228
All squirrelmail-smallcal
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 10 11:50:32 2008 +0000 (2008-08-10) |
parents | |
children | 3e8ffa6ff731 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.abisource.com/projects/enchant/"
10 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
31 rm $fs/usr/lib/enchant/*.*a
32 cp -a $_pkg/usr/share/enchant $fs/usr/share
33 }