summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-driver/Pkgfile
blob: 17ca27f35b84aa2411ce6310030c421c430b99e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

}