wok-4.x view enchant/receipt @ rev 3292
Update: h8300-gcc3 (add clean_wok)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jun 03 15:26:31 2009 +0000 (2009-06-03) |
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 }