# SliTaz package receipt.

PACKAGE="rlog"
VERSION="1.4"
CATEGORY="misc"
SHORT_DESC="C++ logging library."
MAINTAINER="b1+slitaz@nagel.org"
DEPENDS="gcc-lib-base"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.arg0.net/rlog"
WGET_URL="http://rlog.googlecode.com/files/$TARBALL"
TAGS="C++ log"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$src/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}