# SliTaz package receipt.

PACKAGE="libiec61883"
VERSION="1.2.0"
CATEGORY="system-tools"
SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
MAINTAINER="pankso@slitaz.org"
DEPENDS="libraw1394"
BUILD_DEPENDS="libraw1394 libraw1394-dev"
#TARBALL="$PACKAGE-$VERSION.tar.gz"
TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
WEB_SITE="http://www.linux1394.org/"
#WGET_URL="http://www.linux1394.org/dl/$TARBALL"
WGET_URL="http://ftp.debian.org/pool/main/libi/$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 $fs/dev
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}