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