summaryrefslogtreecommitdiffstats
path: root/test/xorg-server/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/xorg-server/Pkgfile')
-rwxr-xr-xtest/xorg-server/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/xorg-server/Pkgfile b/test/xorg-server/Pkgfile
new file mode 100755
index 000000000..6bb123e40
--- /dev/null
+++ b/test/xorg-server/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Serveur X Window
+# URL: http://xorg.freedesktop.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:xorg-xcmiscproto, xorg-bigreqsproto, mesa3d, xorg-bdftopcf, xorg-mkfontdir, xorg-mkfontscale, xorg-xf86driproto, xorg-dri2proto, xorg-libxkbui, xorg-libxtst, xorg-libdmx, xorg-libxxf86misc, xorg-libxaw, xorg-libxvmc, xorg-libxi, xorg-libxres, xorg-libxcomposite, xorg-libxinerama, xorg-libxrandr, xorg-libxft, xorg-libxcursor, xorg-libxxf86dga, xorg-libpixman, xorg-libpciaccess, xorg-libxscrnsaver
+
+name=xorg-server
+version=1.7.7
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/xserver/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr --enable-dri \
+ --disable-config-hal \
+ --localstatedir=/var \
+ --sysconfdir=/etc/X11 \
+ --with-xkb-output=/var/lib/xkb
+ sed -i 's|xorgconfddir = $(datadir)|xorgconfddir = /etc|' config/Makefile
+ make
+ make DESTDIR=$PKG install
+ rmdir $PKG/var/log
+ mv $PKG/usr/lib/xorg/modules/extensions/libglx.{so,xorg}
+}