wok view xorg-xf86-video-openchrome/receipt @ rev 9239

strigi: fix BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 16:08:57 2011 +0100 (2011-03-12)
parents 07ae722ec64e
children 6971e86f8875
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-server xorg-libXvMC mesa-dri-unichrome"
9 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev"
10 SOURCE="xf86-video-openchrome"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 TAGS="xorg display"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --with-xorg-module-dir=/usr/lib/X11/modules \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/X11/modules/drivers/
35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
36 $fs/usr/lib/X11/modules/drivers/
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }