wok-next diff enchant/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | d5aab818505e |
children | dc288d9b8c75 |
line diff
1.1 --- a/enchant/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/enchant/receipt Thu Dec 05 16:28:27 2019 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="enchant" 1.7 -VERSION="1.6.1" 1.8 +VERSION="2.2.3" 1.9 CATEGORY="text" 1.10 SHORT_DESC="Enchant spell checking library" 1.11 MAINTAINER="devel@slitaz.org" 1.12 @@ -10,39 +10,38 @@ 1.13 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/enchant.html" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="https://github.com/AbiWord/enchant/releases/download/enchant-${VERSION//./-}/$TARBALL" 1.17 +WGET_URL="https://github.com/AbiWord/enchant/releases/download/v$VERSION/$TARBALL" 1.18 +TARBALL_SHA1="181d5563d282af0f30c7ab68c5d432271b6fd11e" 1.19 1.20 BUILD_DEPENDS="glib-dev hunspell-dev aspell-dev" 1.21 -SPLIT="$PACKAGE-aspell $PACKAGE-hunspell $PACKAGE $PACKAGE-dev" 1.22 +SPLIT="$PACKAGE-aspell $PACKAGE-hunspell $PACKAGE-dev $PACKAGE" 1.23 + 1.24 +COPY_aspell="enchant_aspell.so" 1.25 +COPY_hunspell="enchant_hunspell.so" 1.26 +COPY_dev="@dev *.la *.so @rm" 1.27 + 1.28 +CAT_aspell="text|aspell backend" 1.29 +CAT_hunspell="text|hunspell backend" 1.30 + 1.31 +DEPENDS_aspell="$PACKAGE aspell glib" 1.32 +DEPENDS_hunspell="$PACKAGE glib hunspell" 1.33 +DEPENDS_std="glib" 1.34 +DEPENDS_dev="$PACKAGE $PACKAGE-aspell $PACKAGE-hunspell glib-dev" 1.35 + 1.36 +SUGGESTED_std="aspell" 1.37 +TAGS_std="spell check" 1.38 1.39 compile_rules() { 1.40 - ./configure $CONFIGURE_ARGS && 1.41 + ./configure \ 1.42 + --disable-static \ 1.43 + $CONFIGURE_ARGS && 1.44 fix libtool && 1.45 make && 1.46 - make install 1.47 + make install || return 1 1.48 + 1.49 + # compatibility with old enchant 1.50 + ln -sfv enchant-2 $install/usr/include/enchant 1.51 + ln -sfv enchant-2 $install/usr/bin/enchant 1.52 + ln -sfv libenchant-2.so $install/usr/lib/libenchant.so 1.53 + ln -sfv enchant-2.pc $install/usr/lib/pkgconfig/enchant.pc 1.54 } 1.55 - 1.56 -genpkg_rules() { 1.57 - case $PACKAGE in 1.58 - *-aspell) 1.59 - copy libenchant_aspell.so 1.60 - CAT="text|aspell backend" 1.61 - DEPENDS="aspell enchant glib" 1.62 - ;; 1.63 - *-hunspell) 1.64 - copy libenchant_myspell.so 1.65 - CAT="text|hunspell backend" 1.66 - DEPENDS="enchant glib hunspell" 1.67 - ;; 1.68 - enchant) 1.69 - copy @std @rm 1.70 - DEPENDS="glib" 1.71 - SUGGESTED="aspell" 1.72 - TAGS="spell check" 1.73 - ;; 1.74 - *-dev) 1.75 - copy @dev *.la 1.76 - DEPENDS="enchant enchant-aspell enchant-hunspell glib-dev" 1.77 - ;; 1.78 - esac 1.79 -}