wok-current view xorg-xf86-video-nouveau/receipt @ rev 23948
Add barrage & penguin-command (thanks rerievo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 16:26:50 2020 +0000 (2020-09-20) |
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 }