wok-next annotate xorg-xf86-video-openchrome/receipt @ rev 12534
xorg-xf86-video-openchrome: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 02:05:55 2012 +0200 (2012-04-26) |
parents | 6971e86f8875 |
children |
rev | line source |
---|---|
claudinei@5117 | 1 # SliTaz package receipt. |
claudinei@5117 | 2 |
claudinei@5117 | 3 PACKAGE="xorg-xf86-video-openchrome" |
pankso@12530 | 4 VERSION="0.2.905" |
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 SOURCE="xf86-video-openchrome" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
claudinei@5117 | 10 WEB_SITE="http://www.x.org/" |
claudinei@5117 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 12 TAGS="xorg display" |
claudinei@5117 | 13 |
pankso@12534 | 14 DEPENDS="xorg-server xorg-libXvMC mesa-dri-unichrome libdrm" |
pankso@12534 | 15 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev libdrm-dev" |
pankso@12530 | 16 |
pankso@12530 | 17 MODS='/usr/lib/X11/modules' |
pankso@12530 | 18 |
claudinei@5117 | 19 # Rules to configure and make the package. |
claudinei@5117 | 20 compile_rules() |
claudinei@5117 | 21 { |
pankso@12530 | 22 cd $src |
pankso@12530 | 23 ./configure \ |
pankso@12530 | 24 --sysconfdir=/etc \ |
pankso@12530 | 25 --mandir=/usr/share/man \ |
pankso@12530 | 26 --localstatedir=/var \ |
pankso@12530 | 27 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 28 $CONFIGURE_ARGS && |
pankso@12530 | 29 make && make 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 { |
pankso@12530 | 35 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
pankso@12530 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
claudinei@5117 | 38 } |
claudinei@5117 | 39 |