wok-next view enchant/receipt @ rev 10911
get-dropbox: no hardcoded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 10:20:30 2011 +0200 (2011-07-28) |
parents | 6e90579538d6 |
children | 223b265f40fd |
line source
1 # SliTaz package receipt.
3 PACKAGE="enchant"
4 VERSION="1.6.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 }