void-packages/srcpkgs/xf86-video-openchrome/template

27 lines
768 B
Bash

# Template file for 'xf86-video-openchrome'
pkgname=xf86-video-openchrome
version=0.6.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel libXvMC-devel"
depends="virtual?xserver-abi-video-25_1"
short_desc="Xorg driver for VIA IGPs"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
lib32disabled=yes
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg -fcommon"
LDFLAGS="-Wl,-z,lazy"
case "$XBPS_TARGET_MACHINE" in
arm*|aarch*) broken="requires sarea.h which isn't present in cross-compiled arm" ;;
esac
post_install() {
vlicense COPYING
}