summaryrefslogtreecommitdiffstats
path: root/acompiler/xorg-xf86-video-nouveau/Pkgfile
blob: c736a3edbbc3798eb9c3d557366ea1cc8bda8f12 (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
# Description: Pilote 3D opensource pour NVidia
# URL: http://nouveau.freedesktop.org/wiki
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: libtool,libdrm,xorg-xf86driproto,xorg-xf86dri2proto,xorg-randrproto

name=xorg-xf86-video-nouveau
_name=xf86-video-nouveau
version=0.0.16-g065576d
release=1
source=(http://nutyx.meticul.eu/files/${_name}-$version.tar.bz2 )

build() {
        cd $SRC/$_name-$version
        ./autogen.sh --prefix=/usr
        make
        make DESTDIR=$PKG install
	mkdir -p $PKG/etc/X11/xorg.conf.d/
cat > $PKG/etc/X11/xorg.conf.d/40-nouveau.conf << "EOF"
Section "Device"
        Identifier      "NOUVEAU"
        Driver          "nouveau"
EndSection
EOF
}