wok-6.x annotate enchant2/receipt @ rev 23355
updated perl-io-tty (1.10 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 10:05:06 2020 +0100 (2020-03-31) |
parents | 736b965f54dc |
children | 5ea0ce1cecc0 |
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@22792 | 12 SOURCE="enchant" |
Hans-G?nter@22792 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22792 | 14 WGET_URL="https://github.com/AbiWord/$SOURCE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22790 | 15 |
Hans-G?nter@22790 | 16 SUGGESTED="aspell" |
Hans-G?nter@22790 | 17 DEPENDS="dbus dbus-glib gcc83-lib-base glib" |
Hans-G?nter@22790 | 18 BUILD_DEPENDS="aspell-dev gcc83 glib-dev pkg-config" |
Hans-G?nter@22790 | 19 |
Hans-G?nter@22790 | 20 HOST_ARCH="i486 arm" |
Hans-G?nter@22790 | 21 |
Hans-G?nter@22790 | 22 # Rules to configure and make the package. |
Hans-G?nter@22790 | 23 compile_rules() |
Hans-G?nter@22790 | 24 { |
Hans-G?nter@22790 | 25 ./configure \ |
Hans-G?nter@22790 | 26 CC=gcc-83 \ |
Hans-G?nter@22790 | 27 CXX=g++-83 \ |
Hans-G?nter@22790 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@22790 | 29 make && |
Hans-G?nter@22790 | 30 make install |
Hans-G?nter@22790 | 31 } |
Hans-G?nter@22790 | 32 |
Hans-G?nter@22790 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22790 | 34 genpkg_rules() |
Hans-G?nter@22790 | 35 { |
Hans-G?nter@22790 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@22790 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22790 | 38 |
Hans-G?nter@22790 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22790 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22790 | 41 cp -a $install/usr/lib/enchant-2 $fs/usr/lib |
Hans-G?nter@22790 | 42 rm $fs/usr/lib/enchant-2/*.*a |
Hans-G?nter@22790 | 43 cp -a $install/usr/share/enchant $fs/usr/share |
Hans-G?nter@22790 | 44 } |