wok-current annotate enchant2/receipt @ rev 25709

Rework mesa-dri to use symlink (85% size free), thanks alanyih
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 03 16:29:38 2024 +0000 (6 months ago)
parents fd8dfbdbc24d
children
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@24515 4 VERSION="2.3.2"
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"
pascal@25422 10 WEB_SITE="https://github.com/AbiWord/enchant"
Hans-G?nter@22790 11
Hans-G?nter@22792 12 SOURCE="enchant"
Hans-G?nter@24515 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24515 14 WGET_URL="https://github.com/AbiWord/$SOURCE/releases/download/v$VERSION/$SOURCE-$VERSION.tar.gz"
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
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24055 24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 26 }
pascal@24055 27
Hans-G?nter@22790 28 # Rules to configure and make the package.
Hans-G?nter@22790 29 compile_rules()
Hans-G?nter@22790 30 {
Hans-G?nter@22790 31 ./configure \
Hans-G?nter@22790 32 CC=gcc-83 \
Hans-G?nter@22790 33 CXX=g++-83 \
Hans-G?nter@22790 34 $CONFIGURE_ARGS &&
Hans-G?nter@22790 35 make &&
Hans-G?nter@22790 36 make install
Hans-G?nter@22790 37 }
Hans-G?nter@22790 38
Hans-G?nter@22790 39 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22790 40 genpkg_rules()
Hans-G?nter@22790 41 {
Hans-G?nter@22790 42 mkdir -p $fs/usr/lib
Hans-G?nter@22790 43 mkdir -p $fs/usr/share
Hans-G?nter@22790 44
Hans-G?nter@22790 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22790 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22790 47 cp -a $install/usr/lib/enchant-2 $fs/usr/lib
Hans-G?nter@22790 48 rm $fs/usr/lib/enchant-2/*.*a
Hans-G?nter@22790 49 cp -a $install/usr/share/enchant $fs/usr/share
Hans-G?nter@22790 50 }