wok annotate libee/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 535c806240cc
children
rev   line source
erjo@11414 1 # SliTaz package receipt.
erjo@11414 2
erjo@11414 3 PACKAGE="libee"
Hans-G?nter@24734 4 VERSION="0.4.1"
erjo@11414 5 CATEGORY="system-tools"
Hans-G?nter@24734 6 SHORT_DESC="An Event Expression Library inspired by CEE."
erjo@11414 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
pascal@24465 9 WEB_SITE="http://www.libee.org/"
Hans-G?nter@24734 10
erjo@11414 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24734 12 WGET_URL="${WEB_SITE}files/download/$TARBALL"
erjo@11414 13
erjo@11414 14 DEPENDS="libestr"
pascal@15117 15 BUILD_DEPENDS="libestr-dev automake"
erjo@11414 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@24465 20 wget -O - http://www.libee.org/download/ 2>/dev/null | \
pascal@24465 21 sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q
pascal@24465 22 }
pascal@24465 23
erjo@11414 24 # Rules to configure and make the package.
erjo@11414 25 compile_rules()
erjo@11414 26 {
Hans-G?nter@24734 27 # 0.4.1 not required
erjo@11414 28 # Patch from http://www.gossamer-threads.com/lists/rsyslog/users/4600
Hans-G?nter@24734 29 # patch -p 1 < $stuff/libee-build-fix.patch
Hans-G?nter@24734 30
Hans-G?nter@24734 31 ./configure \
Hans-G?nter@24734 32 --disable-testbench \
Hans-G?nter@24734 33 $CONFIGURE_ARGS &&
Hans-G?nter@24734 34 make -j 1 &&
Hans-G?nter@24734 35 make install
Hans-G?nter@24734 36 # Do not remove "-j 1" !
erjo@11414 37 }
erjo@11414 38
erjo@11414 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11414 40 genpkg_rules()
erjo@11414 41 {
Hans-G?nter@24734 42 cook_copy_folders sbin
Hans-G?nter@24734 43 cook_copy_files *.so*
erjo@11414 44 }