wok annotate xorg-xf86-video-nouveau/receipt @ rev 21752
tazboot: shrink (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 22:12:18 2019 +0200 (2019-06-15) |
parents | 03b2309fd335 |
children | 5d79829fa876 |
rev | line source |
---|---|
devl547@16279 | 1 # SliTaz package receipt. |
devl547@16279 | 2 |
devl547@16279 | 3 PACKAGE="xorg-xf86-video-nouveau" |
psychomaniak@19154 | 4 VERSION="1.0.12" |
devl547@16279 | 5 CATEGORY="x-window" |
devl547@16279 | 6 SHORT_DESC="Xorg server nouveau (nvidia) driver." |
devl547@16279 | 7 MAINTAINER="devl547@gmail.com" |
devl547@16279 | 8 LICENSE="GPL" |
devl547@16279 | 9 SOURCE="xf86-video-nouveau" |
devl547@16279 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20679 | 11 WEB_SITE="https://nouveau.freedesktop.org/" |
devl547@16279 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
devl547@16279 | 13 TAGS="xorg display" |
devl547@16279 | 14 |
psychomaniak@19154 | 15 DEPENDS="xorg-server libdrm-nouveau libpthread-stubs \ |
psychomaniak@19154 | 16 mesa-dri-nouveau" # opengl only |
psychomaniak@19154 | 17 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev libdrm-dev" |
devl547@16279 | 18 |
devl547@16279 | 19 MODS='/usr/lib/X11/modules' |
devl547@16279 | 20 |
devl547@16279 | 21 # Rules to configure and make the package. |
devl547@16279 | 22 compile_rules() |
devl547@16279 | 23 { |
devl547@16279 | 24 cd $src |
devl547@16279 | 25 ./configure \ |
devl547@16279 | 26 --sysconfdir=/etc \ |
devl547@16279 | 27 --mandir=/usr/share/man \ |
devl547@16279 | 28 --localstatedir=/var \ |
devl547@16279 | 29 --with-xorg-module-dir=$MODS \ |
devl547@16279 | 30 --enable-dri \ |
devl547@16279 | 31 $CONFIGURE_ARGS && |
devl547@16279 | 32 make && make install |
devl547@16279 | 33 } |
devl547@16279 | 34 |
devl547@16279 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16279 | 36 genpkg_rules() |
devl547@16279 | 37 { |
devl547@16279 | 38 mkdir -p ${fs}${MODS}/drivers |
devl547@16279 | 39 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/ |
devl547@16279 | 40 } |