# SliTaz package receipt.

PACKAGE="libavc1394"
VERSION="0.5.3"
CATEGORY="system-tools"
SHORT_DESC="Interface for the 1394 Trade Association AV/C Digital Interface."
MAINTAINER="pankso@slitaz.org"
DEPENDS="libraw1394"
BUILD_DEPENDS="libraw1394-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://sourceforge.net/projects/libavc1394/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--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/bin $fs/usr
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}