wok-current view xorg-xf86-video-nouveau/receipt @ rev 23244
updated ninja (1.9.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:19:28 2020 +0100 (2020-03-25) |
parents | 03b2309fd335 |
children | 5d79829fa876 |
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="https://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 }