wok-current view xorg-xf86-video-nouveau/receipt @ rev 16424
slitaz-boot-scripts: adapt receipt to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 04:48:19 2014 +0200 (2014-04-18) |
parents | |
children | 3942f06994e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-nouveau"
4 VERSION="1.0.10"
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="http://nouveau.freedesktop.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server mesa-dri-nouveau libpthread-stubs"
16 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev"
18 MODS='/usr/lib/X11/modules'
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-xorg-module-dir=$MODS \
29 --enable-dri \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p ${fs}${MODS}/drivers
38 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
39 }