wok view enchant/receipt @ rev 1924

volatile.cpio.gz in receipt is incompatible with tazpkg stuff
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 23 10:31:12 2008 +0000 (2008-12-23)
parents 3d99ecce2d4b
children 25f912aa196a
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 glib glib-dev"
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 }