aboutsummaryrefslogblamecommitdiffstats
path: root/main/xf86-video-vesa/APKBUILD
blob: f200f5cd4193595b0a9483ea03507f1d569e110d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            
                                         
                                        
          
             
                          
                                                             
                                                                              
 
         
                      
                                             


                                 






                             


           
                      
                                      

                                                                            
                                                                                                                                                                            
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vesa
pkgver=2.4.0
pkgrel=0
pkgdesc="X.org generic VESA video driver"
url="https://xorg.freedesktop.org/wiki/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="xorg-server-dev libxi-dev util-macros xorgproto"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="4af5c0a7fd64eba503980198cf510688dff2f33482ceac446455d97255dcc828613387ac57828eb6dce080cb15a8644a2b2e278bf356705fdeaea873ab07c2de  xf86-video-vesa-2.4.0.tar.bz2"