wok-next annotate xorg-xf86-video-nouveau/receipt @ rev 17361
linux-cloop: fix v0-v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 19 11:46:06 2014 +0100 (2014-11-19) |
parents | |
children | 3942f06994e2 |
rev | line source |
---|---|
devl547@16279 | 1 # SliTaz package receipt. |
devl547@16279 | 2 |
devl547@16279 | 3 PACKAGE="xorg-xf86-video-nouveau" |
devl547@16279 | 4 VERSION="1.0.10" |
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" |
devl547@16279 | 11 WEB_SITE="http://nouveau.freedesktop.org/" |
devl547@16279 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
devl547@16279 | 13 TAGS="xorg display" |
devl547@16279 | 14 |
devl547@16279 | 15 DEPENDS="xorg-server mesa-dri-nouveau libpthread-stubs" |
devl547@16279 | 16 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev" |
devl547@16279 | 17 |
devl547@16279 | 18 MODS='/usr/lib/X11/modules' |
devl547@16279 | 19 |
devl547@16279 | 20 # Rules to configure and make the package. |
devl547@16279 | 21 compile_rules() |
devl547@16279 | 22 { |
devl547@16279 | 23 cd $src |
devl547@16279 | 24 ./configure \ |
devl547@16279 | 25 --sysconfdir=/etc \ |
devl547@16279 | 26 --mandir=/usr/share/man \ |
devl547@16279 | 27 --localstatedir=/var \ |
devl547@16279 | 28 --with-xorg-module-dir=$MODS \ |
devl547@16279 | 29 --enable-dri \ |
devl547@16279 | 30 $CONFIGURE_ARGS && |
devl547@16279 | 31 make && make install |
devl547@16279 | 32 } |
devl547@16279 | 33 |
devl547@16279 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16279 | 35 genpkg_rules() |
devl547@16279 | 36 { |
devl547@16279 | 37 mkdir -p ${fs}${MODS}/drivers |
devl547@16279 | 38 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/ |
devl547@16279 | 39 } |