# SliTaz package receipt.

PACKAGE="xvidcore"
VERSION="1.3.2"
CATEGORY="multimedia"
SHORT_DESC="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
MAINTAINER="devl547@gmail.com"
BUILD_DEPENDS="yasm"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xvid.org"
WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"

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