wok-4.x view enchant/receipt @ rev 1481
update BUILD_DEPENDS for easytag gnome-doc-utils libglade libgnomeprint libsexy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 19:30:08 2008 +0000 (2008-10-04) |
parents | b023d73fec79 |
children | 3d99ecce2d4b |
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"
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 }