wok-6.x view vanessa_logger/receipt @ rev 24614

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 06 21:04:14 2022 +0000 (2022-03-06)
parents 2a0479881723
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_logger"
4 VERSION="0.0.10"
5 CATEGORY="network"
6 SHORT_DESC="generic logging layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://projects.horms.net/projects/vanessa/"
11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
13 BUILD_DEPENDS="file"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/\/vanessa_logger\//!d;s|.*vanessa_logger/||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }