summaryrefslogtreecommitdiffstats
path: root/xorg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/Pkgfile')
-rw-r--r--xorg/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/xorg/Pkgfile b/xorg/Pkgfile
new file mode 100644
index 000000000..bb8f14253
--- /dev/null
+++ b/xorg/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Implémentation de X11 de l'organisation Xorg version 1.10.x
+# URL: http://xorg.freedesktop.org
+# Maintainer: cgit.freedesktop.org
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: spice-protocol, xorg-server, xorg-xcb-util, dejavu-ttf, xorg-luit, xorg-xinit, xorg-xauth, xorg-rgb, xkeyboard-config, xorg-twm, xorg-xclock, xorg-xterm
+# Run on: dejavu-ttf,xorg-xinit,xorg-xauth,xorg-rgb,xkeyboard-config,xorg-twm,xorg-xclock,xorg-xterm,xorg-server
+
+name=xorg
+version=1.9.5
+release=2
+section="driver"
+source=($section-$version.md5)
+
+build() {
+unset MAKEFLAGS
+for package in $(grep -v '^#' ${section}-${version}.md5 |cut -d " " -f 3)
+ do
+ wget http://xorg.freedesktop.org/releases/individual/${section}/$package
+ grep $package driver-$version.md5 |md5sum -c -
+ packagedir=$(echo $package | sed 's/.tar.bz2//')
+ tar -xf $package
+
+ pushd $packagedir
+ ./configure $XORG_CONFIG \
+ --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules
+ make
+ make DESTDIR=$PKG install
+ popd
+ done
+}