wok-next view enchant/receipt @ rev 5936
winde: Fix build.
author | erjo@localhost |
---|---|
date | Sun Aug 01 20:14:30 2010 +0200 (2010-08-01) |
parents | 31c985a0bd3d |
children | cb7d3e73c9fa |
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 gcc-lib-base"
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"
14 TAGS="spell check"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
35 rm $fs/usr/lib/enchant/*.*a
36 cp -a $_pkg/usr/share/enchant $fs/usr/share
37 }