void-packages/srcpkgs/libXinerama/template

31 lines
782 B
Bash

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