wok annotate vanessa_logger/receipt @ rev 24889

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