wok-current rev 5117
Add: xorg-xf86-video-openchrome
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Mar 20 03:32:17 2010 +0000 (2010-03-20) |
parents | f8082abc654d |
children | df3481dad238 |
files | xorg-xf86-video-openchrome/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xorg-xf86-video-openchrome/receipt Sat Mar 20 03:32:17 2010 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xorg-xf86-video-openchrome" 1.7 +VERSION="0.2.903" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Xorg server openchrome driver." 1.10 +MAINTAINER="claudinei@slitaz.org" 1.11 +DEPENDS="xorg xorg-server xorg-libXv xorg-libXvMC mesa-dri-unichrome \ 1.12 +libdrm linux-agp" 1.13 +BUILD_DEPENDS="xorg-server-dev xorg-libpciaccess-dev xorg-libXv-dev \ 1.14 +xorg-libXvMC-dev mesa-dev libdrm libdrm-dev xorg-dev-proto pixman-dev" 1.15 +SOURCE="xf86-video-openchrome" 1.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 +WEB_SITE="http://www.x.org/" 1.18 +WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --sysconfdir=/etc \ 1.27 + --mandir=/usr/share/man \ 1.28 + --localstatedir=/var \ 1.29 + --with-xorg-module-dir=/usr/lib/X11/modules \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make DESTDIR=$PWD/_pkg install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib/X11/modules/drivers/ 1.39 + cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ 1.40 + $fs/usr/lib/X11/modules/drivers/ 1.41 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.42 +} 1.43 +