wok view libee/receipt @ rev 24465

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 17 12:02:46 2022 +0000 (2022-02-17)
parents e66efc062996
children a7524849966d
line source
1 # SliTaz package receipt.
3 PACKAGE="libee"
4 VERSION="0.3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="An Event Expression Library inspired by CEE"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libee.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.libee.org/files/download/$TARBALL"
13 DEPENDS="libestr"
14 BUILD_DEPENDS="libestr-dev automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://www.libee.org/download/ 2>/dev/null | \
20 sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 # Patch from http://www.gossamer-threads.com/lists/rsyslog/users/4600
28 patch -p 1 < $stuff/libee-build-fix.patch
29 ./configure $CONFIGURE_ARGS \
30 --disable-testbench && make -j 1 && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 }