void-packages/srcpkgs/libXv/template

31 lines
764 B
Bash

# Template build file for 'libXv'.
pkgname=libXv
version=1.0.12
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel"
short_desc="Xv Extension library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.xz"
checksum=aaf7fa09f689f7a2000fe493c0d64d1487a1210db154053e9e2336b860c63848
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
}
}