summaryrefslogtreecommitdiffstats
path: root/test/xorg/Pkgfile
blob: fa8761c4ec44269469574f47c3d5a90a77410719 (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: Implémentation de X11 de l'organisation Xorg
# URL: http://xorg.freedesktop.org
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg-server, xorg-xcb-util, dejavu-ttf, xorg-luit, xorg-xinit, xorg-xauth, xorg-rgb, xkeyboard-config, xorg-twm, xorg-xclock, xorg-xterm

name=xorg
version=1.7.7
release=1
section="driver"
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

}