31 lines
793 B
Bash
31 lines
793 B
Bash
# Template file for 'xf86-video-mga'
|
|
pkgname=xf86-video-mga
|
|
version=2.0.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config xorg-util-macros"
|
|
makedepends="xorg-server-devel"
|
|
depends="virtual?xserver-abi-video-24_1"
|
|
short_desc="Xorg Matrox Graphics Adapter video driver"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="MIT"
|
|
homepage="http://xorg.freedesktop.org"
|
|
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
|
|
checksum=268946e1a13e9d80e4f724a0740df9e6e8c8bad37697fcbf456924e9fdbb5d79
|
|
lib32disabled=yes
|
|
|
|
LDFLAGS="-Wl,-z,lazy"
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*|aarch64*|ppc*)
|
|
sed -i 's/^DRI="no"/DRI="yes"/' configure.ac
|
|
;;
|
|
*) ;;
|
|
esac
|
|
autoreconf -if
|
|
}
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|