wok-6.x view rlog/receipt @ rev 24883
created recipes for loudmouth and loudmouth-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:38:03 2022 +0100 (2022-04-01) |
parents | 4c206553708a |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rlog"
4 VERSION="1.4"
5 CATEGORY="misc"
6 SHORT_DESC="C++ logging library."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.arg0.net/rlog"
11 WGET_URL="http://rlog.googlecode.com/files/$TARBALL"
12 TAGS="C++ log"
14 DEPENDS="gcc-lib-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://raw.githubusercontent.com/vgough/rlog/master/ChangeLog 2>/dev/null | \
20 sed '/version to/!d;s|.*bump version to ||;s|,.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }