xf86-video-vesa: cross build support.

This commit is contained in:
Juan RP 2013-05-06 13:49:46 +02:00
parent c3b4c33aad
commit b6c2d97325
1 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,8 @@ version="2:${_distver}"
wrksrc="${pkgname}-${_distver}"
revision=4
build_style=gnu-configure
makedepends="automake pkg-config xorg-util-macros xorg-server-devel>=1.13<1.14"
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.13<1.14"
short_desc="Xorg VESA video driver"
homepage="http://xorg.freedesktop.org"
license="MIT"
@ -15,6 +16,10 @@ checksum=144a17ffae3c86603ddc4ae33521a52813498ee1f8213faa662dc4a8d6490ee3
long_desc="
This is the X11 video driver for Generic VESA video cards."
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
fi
xf86-video-vesa_package() {
depends="xserver-abi-video>=13<14"
pkg_install() {