wok annotate enchant/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (5 weeks ago)
parents f2b4a9eb8bdd
children
rev   line source
pankso@571 1 # SliTaz package receipt.
pankso@571 2
pankso@571 3 PACKAGE="enchant"
Hans-G?nter@22790 4 VERSION="1.6.0"
pankso@571 5 CATEGORY="x-window"
pankso@571 6 SHORT_DESC="Enchant spell checking library."
pankso@571 7 MAINTAINER="pankso@slitaz.org"
pascal@15202 8 LICENSE="LGPL2.1"
Hans-G?nter@22790 9 SUGGESTED="aspell"
Hans-G?nter@22790 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25594 11 WEB_SITE="https://github.com/AbiWord/enchant"
pascal@25594 12 WGET_URL="https://web.archive.org/web/20230331215737if_/http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
Hans-G?nter@22790 13 TAGS="spell check"
Hans-G?nter@22790 14 HOST_ARCH="i486 arm"
Hans-G?nter@22700 15
Hans-G?nter@22790 16 DEPENDS="dbus dbus-glib glib gcc-lib-base"
Hans-G?nter@22790 17 BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev"
pankso@571 18
pascal@25594 19 # What is the latest version available today?
pascal@24069 20 current_version()
pascal@24069 21 {
pascal@25594 22 wget -O - https://github.com/AbiWord/enchant/releases/ 2>/dev/null | \
pascal@25599 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24069 24 }
pascal@24069 25
pankso@571 26 # Rules to configure and make the package.
pankso@571 27 compile_rules()
pankso@571 28 {
Hans-G?nter@22790 29 ./configure \
pascal@1439 30 $CONFIGURE_ARGS &&
Hans-G?nter@22790 31 make && make install
pankso@571 32 }
pankso@571 33
pankso@571 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@571 35 genpkg_rules()
pankso@571 36 {
Hans-G?nter@22790 37 mkdir -p $fs/usr/lib $fs/usr/share
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 $fs/usr/lib
Hans-G?nter@22790 41 rm $fs/usr/lib/enchant/*.*a
Hans-G?nter@22790 42 cp -a $install/usr/share/enchant $fs/usr/share
Hans-G?nter@22790 43 }
Hans-G?nter@22700 44