wok-next view xorg-xf86-video-openchrome/receipt @ rev 5195
slitaz-doc: fix version for 3.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 17:16:33 2010 +0200 (2010-03-28) |
parents | |
children | 5df05057669a |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-openchrome"
4 VERSION="0.2.903"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server openchrome driver."
7 MAINTAINER="claudinei@slitaz.org"
8 DEPENDS="xorg xorg-server xorg-libXv xorg-libXvMC mesa-dri-unichrome \
9 libdrm linux-agp"
10 BUILD_DEPENDS="xorg-server-dev xorg-libpciaccess-dev xorg-libXv-dev \
11 xorg-libXvMC-dev mesa-dev libdrm libdrm-dev xorg-dev-proto pixman-dev"
12 SOURCE="xf86-video-openchrome"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://www.x.org/"
15 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 --with-xorg-module-dir=/usr/lib/X11/modules \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/X11/modules/drivers/
36 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
37 $fs/usr/lib/X11/modules/drivers/
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }