void-packages/srcpkgs/libXi/template
2018-03-05 15:11:14 +01:00

30 lines
777 B
Bash

# Template build file for 'libXi'.
pkgname=libXi
version=1.7.9
revision=2
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="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45
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"
}
}