wok-6.x annotate enchant2/receipt @ rev 22790
renamed enchant 2.2.7 to enchant2 and restored enchant 1.6.0 as enchant
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 08:56:40 2020 +0100 (2020-01-27) |
parents | |
children | 736b965f54dc |
rev | line source |
---|---|
Hans-G?nter@22790 | 1 # SliTaz package receipt. |
Hans-G?nter@22790 | 2 |
Hans-G?nter@22790 | 3 PACKAGE="enchant2" |
Hans-G?nter@22790 | 4 VERSION="2.2.7" |
Hans-G?nter@22790 | 5 CATEGORY="x-window" |
Hans-G?nter@22790 | 6 TAGS="spell check" |
Hans-G?nter@22790 | 7 SHORT_DESC="Enchant spell checking library." |
Hans-G?nter@22790 | 8 MAINTAINER="pankso@slitaz.org" |
Hans-G?nter@22790 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@22790 | 10 WEB_SITE="https://www.abisource.com/projects/enchant/" |
Hans-G?nter@22790 | 11 |
Hans-G?nter@22790 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22790 | 13 WGET_URL="https://github.com/AbiWord/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22790 | 14 |
Hans-G?nter@22790 | 15 SUGGESTED="aspell" |
Hans-G?nter@22790 | 16 DEPENDS="dbus dbus-glib gcc83-lib-base glib" |
Hans-G?nter@22790 | 17 BUILD_DEPENDS="aspell-dev gcc83 glib-dev pkg-config" |
Hans-G?nter@22790 | 18 |
Hans-G?nter@22790 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@22790 | 20 |
Hans-G?nter@22790 | 21 # Rules to configure and make the package. |
Hans-G?nter@22790 | 22 compile_rules() |
Hans-G?nter@22790 | 23 { |
Hans-G?nter@22790 | 24 ./configure \ |
Hans-G?nter@22790 | 25 CC=gcc-83 \ |
Hans-G?nter@22790 | 26 CXX=g++-83 \ |
Hans-G?nter@22790 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@22790 | 28 make && |
Hans-G?nter@22790 | 29 make install |
Hans-G?nter@22790 | 30 } |
Hans-G?nter@22790 | 31 |
Hans-G?nter@22790 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22790 | 33 genpkg_rules() |
Hans-G?nter@22790 | 34 { |
Hans-G?nter@22790 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@22790 | 36 mkdir -p $fs/usr/share |
Hans-G?nter@22790 | 37 |
Hans-G?nter@22790 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22790 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22790 | 40 cp -a $install/usr/lib/enchant-2 $fs/usr/lib |
Hans-G?nter@22790 | 41 rm $fs/usr/lib/enchant-2/*.*a |
Hans-G?nter@22790 | 42 cp -a $install/usr/share/enchant $fs/usr/share |
Hans-G?nter@22790 | 43 } |