void-packages/srcpkgs/libXvMC/template

27 lines
777 B
Bash

# Template build file for 'libXvMC'.
pkgname=libXvMC
version=1.0.9
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="videoproto libX11-devel libXext-devel libXv-devel"
short_desc="XVideo Motion Compensation Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=0703d7dff6ffc184f1735ca5d4eb9dbb402b522e08e008f2f96aee16c40a5756
libXvMC-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}