wok-next view enchant/receipt @ rev 2673

mirror-tools/mkpkgiso: add mount-packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 21 11:08:45 2009 +0200 (2009-04-21)
parents 25f912aa196a
children 1b3e286f13c8
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="aspell dbus dbus-glib glib"
9 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.abisource.com/projects/enchant/"
12 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
33 rm $fs/usr/lib/enchant/*.*a
34 cp -a $_pkg/usr/share/enchant $fs/usr/share
35 }