wok-stable annotate enchant/receipt @ rev 8506

Up: libtaz 0.0.5
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:53:48 2011 +0100 (2011-02-12)
parents 6e90579538d6
children
rev   line source
pankso@571 1 # SliTaz package receipt.
pankso@571 2
pankso@571 3 PACKAGE="enchant"
slaxemulator@6688 4 VERSION="1.6.0"
pankso@571 5 CATEGORY="x-window"
pankso@571 6 SHORT_DESC="Enchant spell checking library."
pankso@571 7 MAINTAINER="pankso@slitaz.org"
pascal@5000 8 DEPENDS="dbus dbus-glib glib gcc-lib-base"
paul@2130 9 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev"
pankso@2879 10 SUGGESTED="aspell"
pankso@571 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@571 12 WEB_SITE="http://www.abisource.com/projects/enchant/"
pankso@571 13 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
jozee@4935 14 TAGS="spell check"
pankso@571 15
pankso@571 16 # Rules to configure and make the package.
pankso@571 17 compile_rules()
pankso@571 18 {
pankso@571 19 cd $src
pankso@571 20 ./configure \
pankso@571 21 --prefix=/usr \
pankso@571 22 --mandir=/usr/share/man \
pascal@1439 23 $CONFIGURE_ARGS &&
pascal@1439 24 make &&
pankso@571 25 make DESTDIR=$PWD/_pkg install
pankso@571 26 }
pankso@571 27
pankso@571 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@571 29 genpkg_rules()
pankso@571 30 {
pankso@571 31 mkdir -p $fs/usr/lib $fs/usr/share
pankso@571 32 cp -a $_pkg/usr/bin $fs/usr
pankso@571 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@571 34 cp -a $_pkg/usr/lib/enchant $fs/usr/lib
pankso@571 35 rm $fs/usr/lib/enchant/*.*a
pankso@571 36 cp -a $_pkg/usr/share/enchant $fs/usr/share
pankso@571 37 }
pankso@571 38