# Template file for 'xvidcore'
pkgname=xvidcore
version=1.3.4
revision=1
wrksrc="$pkgname"
build_wrksrc="build/generic"
build_style=gnu-configure
hostmakedepends="nasm"
short_desc="ISO MPEG-4 compliant video codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.xvid.org"
license="GPL-2"
distfiles="http://downloads.xvid.org/downloads/$pkgname-$version.tar.bz2"
checksum=5faf6380b828db8ad29f0b69f030edf86d0fe26d1f9c5427030c6accd3ad8bf7

xvidcore-devel_package() {
	depends="xvidcore>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
