void-packages/srcpkgs/libXv/template

30 lines
732 B
Text

# Template build file for 'libXv'.
pkgname=libXv
version=1.0.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="videoproto libX11-devel libXext-devel"
short_desc="Xv Extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=5d664aeb641f8c867331a0c6b4574a5e7e420f00bf5fcefd874e8d003ea59010
libXv-devel_package() {
depends="xproto videoproto libX11-devel libXext-devel libXv>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXv_package() {
pkg_install() {
vmove usr
}
}