# SliTaz package receipt.

PACKAGE="obby"
VERSION="0.4.7"
CATEGORY="network"
SHORT_DESC="Realtime collaborative text-editing functionality."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://gobby.0x539.de/trac/"
WGET_URL="http://releases.0x539.de/obby/$TARBALL"
TAGS="collaboration text-editor"

DEPENDS="gnutls libgpg-error libgcrypt net6 libsigc++ zlib gcc-lib-base libtasn1"
BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev net6-dev \
libsigc++-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_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
}