wok-next annotate enchant/receipt @ rev 20919
dbus-python -> python-dbus
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 09:09:15 2018 +0300 (2018-08-22) |
parents | 757d032c55c7 |
children | b1168ea8cdc7 |
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" |
pankso@571 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15202 | 8 LICENSE="LGPL2.1" |
al@19741 | 9 WEB_SITE="https://abiword.github.io/enchant/" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@20405 | 16 SPLIT="enchant-aspell enchant-hunspell enchant enchant-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@19741 | 27 enchant-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@19741 | 32 enchant-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@19741 | 43 enchant-dev) |
al@19741 | 44 copy @dev |
al@20749 | 45 DEPENDS="enchant enchant-aspell enchant-hunspell glib-dev" |
al@19741 | 46 ;; |
al@19741 | 47 esac |
pankso@571 | 48 } |