blob: 1951ac5c2c235fa7d7663c852f42aa397549bebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
NAME="xf86-video-nouveau"
DESC="Open-source X.org drivers for nVidia video cards"
MAKEDEPS=" libdrm xorg-server xorg-util-macros eudev xorgproto"
PKG_VER=1.0.17
SOURCE="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2"
ADDITIONAL="
xorg-server-21.1.patch
"
prepare () {
apply_patches
}
build() {
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
}
|