wok-next annotate enchant/receipt @ rev 19816
gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 27 00:56:44 2017 +0300 (2017-07-27) |
parents | 128aae84d74c |
children | ab7c63b80420 |
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/" |
jozee@4935 | 10 TAGS="spell check" |
pankso@16248 | 11 HOST_ARCH="i486 arm" |
pankso@571 | 12 |
al@19741 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 14 WGET_URL="https://github.com/AbiWord/enchant/releases/download/enchant-${VERSION//./-}/$TARBALL" |
al@19741 | 15 |
al@19741 | 16 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev" |
al@19741 | 17 SPLIT="enchant-aspell enchant-hunspell enchant-dev" |
pascal@15202 | 18 |
pankso@571 | 19 # Rules to configure and make the package. |
pankso@571 | 20 compile_rules() |
pankso@571 | 21 { |
al@19741 | 22 ./configure $CONFIGURE_ARGS && make && make install |
pankso@571 | 23 } |
pankso@571 | 24 |
pankso@571 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@571 | 26 genpkg_rules() |
pankso@571 | 27 { |
al@19741 | 28 case $PACKAGE in |
al@19741 | 29 enchant) |
al@19741 | 30 copy @std |
al@19741 | 31 find $fs \( -name libenchant_aspell.so -o -name libenchant_myspell.so \) -delete |
al@19741 | 32 SUGGESTED="aspell" |
al@19741 | 33 ;; |
al@19741 | 34 enchant-aspell) |
al@19741 | 35 copy libenchant_aspell.so |
al@19741 | 36 CAT="text|aspell backend" |
al@19741 | 37 DEPENDS="enchant aspell" |
al@19741 | 38 ;; |
al@19741 | 39 enchant-hunspell) |
al@19741 | 40 copy libenchant_myspell.so |
al@19741 | 41 CAT="text|hunspell backend" |
al@19741 | 42 DEPENDS="enchant hunspell" |
al@19741 | 43 ;; |
al@19741 | 44 enchant-dev) |
al@19741 | 45 copy @dev |
al@19741 | 46 DEPENDS="enchant enchant-aspell enchant-hunspell aspell hunspell \ |
al@19741 | 47 glib-dev pcre-dev" |
al@19741 | 48 ;; |
al@19741 | 49 esac |
pankso@571 | 50 } |
pankso@571 | 51 |