# SliTaz package receipt. PACKAGE="rlog" VERSION="1.4" CATEGORY="misc" SHORT_DESC="C++ logging library." MAINTAINER="b1+slitaz@nagel.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://github.com/vgough/rlog" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" TAGS="C++ log" DEPENDS="gcc-lib-base" # What is the latest version available today? current_version() { wget -O - https://raw.githubusercontent.com/vgough/rlog/master/ChangeLog 2>/dev/null | \ sed '/version to/!d;s|.*bump version to ||;s|,.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }