wok-next annotate enchant/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 59c6b07cb8eb
rev   line source
al@19741 1 # SliTaz package receipt v2.
pankso@571 2
pankso@571 3 PACKAGE="enchant"
al@19741 4 VERSION="1.6.1"
al@19741 5 CATEGORY="text"
al@19741 6 SHORT_DESC="Enchant spell checking library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15202 8 LICENSE="LGPL2.1"
al@19741 9 WEB_SITE="https://abiword.github.io/enchant/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/enchant.html"
pankso@571 11
al@19741 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19741 13 WGET_URL="https://github.com/AbiWord/enchant/releases/download/enchant-${VERSION//./-}/$TARBALL"
al@19741 14
al@19741 15 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev"
al@21017 16 SPLIT="$PACKAGE-aspell $PACKAGE-hunspell $PACKAGE $PACKAGE-dev"
pascal@15202 17
al@20405 18 compile_rules() {
al@20534 19 ./configure $CONFIGURE_ARGS &&
al@20534 20 fix libtool &&
al@20534 21 make &&
al@20534 22 make install
pankso@571 23 }
pankso@571 24
al@20405 25 genpkg_rules() {
al@19741 26 case $PACKAGE in
al@21017 27 *-aspell)
al@19741 28 copy libenchant_aspell.so
al@19741 29 CAT="text|aspell backend"
al@20749 30 DEPENDS="aspell enchant glib"
al@19741 31 ;;
al@21017 32 *-hunspell)
al@19741 33 copy libenchant_myspell.so
al@19741 34 CAT="text|hunspell backend"
al@20749 35 DEPENDS="enchant glib hunspell"
al@19741 36 ;;
al@20405 37 enchant)
al@20405 38 copy @std @rm
al@20405 39 DEPENDS="glib"
al@20405 40 SUGGESTED="aspell"
al@20405 41 TAGS="spell check"
al@20405 42 ;;
al@21017 43 *-dev)
al@20933 44 copy @dev *.la
al@20749 45 DEPENDS="enchant enchant-aspell enchant-hunspell glib-dev"
al@19741 46 ;;
al@19741 47 esac
pankso@571 48 }