wok-current view xorg-xf86-video-openchrome/receipt @ rev 6111

tazbb: add check-receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 04 13:54:44 2010 +0200 (2010-09-04)
parents 5df05057669a
children 07ae722ec64e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-openchrome"
4 VERSION="0.2.904"
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"
16 TAGS="xorg display"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=/usr/lib/X11/modules \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/X11/modules/drivers/
37 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
38 $fs/usr/lib/X11/modules/drivers/
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 }