wok view libee/receipt @ rev 25562

ext4magic: add current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 01 08:21:00 2023 +0000 (18 months ago)
parents 535c806240cc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libee"
4 VERSION="0.4.1"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}files/download/$TARBALL"
14 DEPENDS="libestr"
15 BUILD_DEPENDS="libestr-dev automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://www.libee.org/download/ 2>/dev/null | \
21 sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 0.4.1 not required
28 # Patch from http://www.gossamer-threads.com/lists/rsyslog/users/4600
29 # patch -p 1 < $stuff/libee-build-fix.patch
31 ./configure \
32 --disable-testbench \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make install
36 # Do not remove "-j 1" !
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders sbin
43 cook_copy_files *.so*
44 }