wok-6.x annotate enchant/receipt @ rev 15355
notecase: add CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 20:23:31 2013 +0000 (2013-09-30) |
parents | cb7d3e73c9fa |
children | 128aae84d74c |
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@15202 | 8 LICENSE="LGPL2.1" |
pankso@2879 | 9 SUGGESTED="aspell" |
pankso@571 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@571 | 11 WEB_SITE="http://www.abisource.com/projects/enchant/" |
pankso@571 | 12 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL" |
jozee@4935 | 13 TAGS="spell check" |
pankso@571 | 14 |
pascal@15202 | 15 DEPENDS="dbus dbus-glib glib gcc-lib-base" |
pascal@15202 | 16 BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev" |
pascal@15202 | 17 |
pankso@571 | 18 # Rules to configure and make the package. |
pankso@571 | 19 compile_rules() |
pankso@571 | 20 { |
pankso@571 | 21 cd $src |
pankso@571 | 22 ./configure \ |
pankso@571 | 23 --prefix=/usr \ |
pankso@571 | 24 --mandir=/usr/share/man \ |
pascal@1439 | 25 $CONFIGURE_ARGS && |
pascal@1439 | 26 make && |
pascal@15202 | 27 make DESTDIR=$DESTDIR install |
pankso@571 | 28 } |
pankso@571 | 29 |
pankso@571 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@571 | 31 genpkg_rules() |
pankso@571 | 32 { |
pankso@571 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15202 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15202 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15202 | 36 cp -a $install/usr/lib/enchant $fs/usr/lib |
pankso@571 | 37 rm $fs/usr/lib/enchant/*.*a |
pascal@15202 | 38 cp -a $install/usr/share/enchant $fs/usr/share |
pankso@571 | 39 } |
pankso@571 | 40 |