wok annotate rlog/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (2 weeks ago) |
parents | 870e1ce31226 |
children |
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" |
pascal@24979 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 } |