wok annotate xorg-xf86-video-openchrome/receipt @ rev 6544
Up: libtool to 2.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 00:37:08 2010 +0000 (2010-10-07) |
parents | 5df05057669a |
children | 07ae722ec64e |
rev | line source |
---|---|
claudinei@5117 | 1 # SliTaz package receipt. |
claudinei@5117 | 2 |
claudinei@5117 | 3 PACKAGE="xorg-xf86-video-openchrome" |
jozee@5590 | 4 VERSION="0.2.904" |
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" |
jozee@5592 | 16 TAGS="xorg display" |
claudinei@5117 | 17 |
claudinei@5117 | 18 # Rules to configure and make the package. |
claudinei@5117 | 19 compile_rules() |
claudinei@5117 | 20 { |
claudinei@5117 | 21 cd $src |
claudinei@5117 | 22 ./configure \ |
claudinei@5117 | 23 --prefix=/usr \ |
claudinei@5117 | 24 --sysconfdir=/etc \ |
claudinei@5117 | 25 --mandir=/usr/share/man \ |
claudinei@5117 | 26 --localstatedir=/var \ |
claudinei@5117 | 27 --with-xorg-module-dir=/usr/lib/X11/modules \ |
claudinei@5117 | 28 $CONFIGURE_ARGS && |
claudinei@5117 | 29 make && |
claudinei@5117 | 30 make DESTDIR=$PWD/_pkg install |
claudinei@5117 | 31 } |
claudinei@5117 | 32 |
claudinei@5117 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5117 | 34 genpkg_rules() |
claudinei@5117 | 35 { |
claudinei@5117 | 36 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
claudinei@5117 | 37 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
claudinei@5117 | 38 $fs/usr/lib/X11/modules/drivers/ |
claudinei@5117 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
claudinei@5117 | 40 } |
claudinei@5117 | 41 |