wok-current view xorg-xf86-video-nouveau/receipt @ rev 20123

fix
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 15 01:25:29 2017 +0200 (2017-10-15)
parents 3942f06994e2
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-nouveau"
4 VERSION="1.0.12"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server nouveau (nvidia) driver."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL"
9 SOURCE="xf86-video-nouveau"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://nouveau.freedesktop.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server libdrm-nouveau libpthread-stubs \
16 mesa-dri-nouveau" # opengl only
17 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev libdrm-dev"
19 MODS='/usr/lib/X11/modules'
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-xorg-module-dir=$MODS \
30 --enable-dri \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p ${fs}${MODS}/drivers
39 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
40 }