summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-driver/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-09-09 13:30:08 +0200
committertnut <thierryn1 at hispeed dot ch>2010-09-09 13:30:08 +0200
commite3e167903c11b88eaebde3008697717b05e65c4f (patch)
tree6ea59963033593b23a3224e3a83ce04fa7c33307 /xorg/xorg-driver/Pkgfile
parent47134f8e3c40517d32853b1bc73d70dd4b4701cb (diff)
downloadnutyx-extra-e3e167903c11b88eaebde3008697717b05e65c4f.tar.gz
nutyx-extra-e3e167903c11b88eaebde3008697717b05e65c4f.tar.bz2
nutyx-extra-e3e167903c11b88eaebde3008697717b05e65c4f.tar.xz
nutyx-extra-e3e167903c11b88eaebde3008697717b05e65c4f.zip
ajout de xorg-driver#1.9.0-1
Diffstat (limited to 'xorg/xorg-driver/Pkgfile')
-rwxr-xr-xxorg/xorg-driver/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/xorg/xorg-driver/Pkgfile b/xorg/xorg-driver/Pkgfile
new file mode 100755
index 000000000..17ca27f35
--- /dev/null
+++ b/xorg/xorg-driver/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Permet au serveur X de communiquer avec les différents périphériques
+# URL: http://xorg.freedesktop.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg-server
+
+name=xorg-driver
+version=1.9.0
+release=1
+section=$(echo $name|cut -d '-' -f 2)
+source=($section-$version.md5)
+
+build() {
+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
+
+ cd $packagedir
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ cd ..
+ done
+
+}