void-packages/srcpkgs/libXi/template

27 lines
740 B
Bash

# Template build file for 'libXi'.
pkgname=libXi
version=1.7.7
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xmlto"
makedepends="inputproto libXfixes-devel libXext-devel"
short_desc="X Input extension library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=996f834fa57b9b33ba36690f6f5c6a29320bc8213022943912462d8015b1e030
libXi-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}