void-packages/srcpkgs/libXinerama/template

30 lines
744 B
Text

# Template build file for 'libXinerama'.
pkgname=libXinerama
version=1.1.2
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xineramaproto libXext-devel"
short_desc="X PanoramiX extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=a4e77c2fd88372e4ae365f3ca0434a23613da96c5b359b1a64bf43614ec06aac
libXinerama-devel_package() {
depends="xineramaproto libXext-devel libXinerama>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXinerama_package() {
pkg_install() {
vmove usr
}
}