summaryrefslogtreecommitdiff
path: root/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/xf86-video-nouveau/xf86-video-nouveau.xibuild')
-rw-r--r--repo/xf86-video-nouveau/xf86-video-nouveau.xibuild31
1 files changed, 22 insertions, 9 deletions
diff --git a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
index 694cffc..1951ac5 100644
--- a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
+++ b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
@@ -1,23 +1,36 @@
#!/bin/sh
-MAKEDEPS="make xorg-server mesa"
+NAME="xf86-video-nouveau"
+DESC="Open-source X.org drivers for nVidia video cards"
-DESC="X.org nouveau video driver"
+MAKEDEPS=" libdrm xorg-server xorg-util-macros eudev xorgproto"
PKG_VER=1.0.17
-SOURCE=https://www.x.org/pub/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2
-ADDITIONAL="xorg-server-21.1.patch"
+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 () {
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
- make
+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
+package() {
+ make DESTDIR="$PKG_DEST" install
}