void-packages/srcpkgs/libXv/template

30 lines
765 B
Bash

# Template build file for 'libXv'.
pkgname=libXv
version=1.0.11
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel"
short_desc="Xv Extension library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=d26c13eac99ac4504c532e8e76a1c8e4bd526471eb8a0a4ff2a88db60cb0b088
post_install() {
vlicense COPYING
}
libXv-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
}
}