void-packages/srcpkgs/libXi/template

31 lines
772 B
Bash

# Template file for 'libXi'
pkgname=libXi
version=1.7.10
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xmlto"
makedepends="xorgproto libXfixes-devel libXext-devel"
short_desc="X Input extension library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061
post_install() {
vlicense COPYING
}
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"
}
}