wok annotate rlog/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (2022-05-06)
parents 7c0170dd3ecc
children d765616e1f3d
rev   line source
b1+slitaz@1826 1 # SliTaz package receipt.
b1+slitaz@1826 2
b1+slitaz@1826 3 PACKAGE="rlog"
b1+slitaz@1826 4 VERSION="1.4"
b1+slitaz@1826 5 CATEGORY="misc"
b1+slitaz@1826 6 SHORT_DESC="C++ logging library."
b1+slitaz@1826 7 MAINTAINER="b1+slitaz@nagel.org"
pascal@15593 8 LICENSE="LGPL2.1"
slaxemulator@9475 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24894 10 WEB_SITE="https://github.com/vgough/rlog"
b1+slitaz@1826 11 WGET_URL="http://rlog.googlecode.com/files/$TARBALL"
jozee@4972 12 TAGS="C++ log"
b1+slitaz@1826 13
pascal@15593 14 DEPENDS="gcc-lib-base"
pascal@15593 15
pascal@24535 16 # What is the latest version available today?
pascal@24535 17 current_version()
pascal@24535 18 {
pascal@24535 19 wget -O - https://raw.githubusercontent.com/vgough/rlog/master/ChangeLog 2>/dev/null | \
pascal@24535 20 sed '/version to/!d;s|.*bump version to ||;s|,.*||;q'
pascal@24535 21 }
pascal@24535 22
b1+slitaz@1826 23 # Rules to configure and make the package.
b1+slitaz@1826 24 compile_rules()
b1+slitaz@1826 25 {
b1+slitaz@1826 26 cd $src
pascal@5006 27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@5006 28 make &&
pascal@15593 29 make DESTDIR=$DESTDIR install
b1+slitaz@1826 30 }
b1+slitaz@1826 31
b1+slitaz@1826 32 # Rules to gen a SliTaz package suitable for Tazpkg.
b1+slitaz@1826 33 genpkg_rules()
b1+slitaz@1826 34 {
b1+slitaz@1826 35 mkdir -p $fs/usr/lib
pascal@15593 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
b1+slitaz@1826 37 }