wok-current view xorg-xf86-video-nouveau/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | 6135577f4d08 |
children | 5926178cd6fa |
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 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 --localstatedir=/var \
35 --with-xorg-module-dir=$MODS \
36 --enable-dri \
37 $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p ${fs}${MODS}/drivers
45 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
46 }