wok-stable view enchant/receipt @ rev 9715
glibc-base: remove post_install() it not working and not usefull
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 23:49:22 2011 +0200 (2011-05-08) |
parents | 6e90579538d6 |
children |
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 }