void-packages/templates/xorg-server/template

74 lines
2.2 KiB
Plaintext

# Template build file for 'xorg-server'.
pkgname=xorg-server
sourcepkg=$pkgname
version=1.6.1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-xf86bigfont --enable-multibuffer --enable-record
--enable-glx-tls --enable-xcalibrate --localstatedir=/var
--disable-static -disable-xprint --enable-config-dbus --sysconfdir=/etc/X11
--enable-config-hal --enable-xcsecurity --enable-install-setuid
--with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/lib/xkb
--with-dri-driver-path=/usr/lib/dri"
short_desc="Modular X11 server from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0edbaa994797cb7944a4129d33b634ad99164b21ec32355d56996a178d38bfcf
long_desc="
The X.org X11 Server from the modularized source tree of X.org X11."
conf_files="/etc/dbus-1/system.d/xorg-server.conf"
subpackages="devel"
Add_dependency full glibc
Add_dependency full openssl
Add_dependency full dbus
Add_dependency full hal
Add_dependency full libX11
Add_dependency full libdrm
Add_dependency full libXdmcp
Add_dependency full libXfont
Add_dependency full libfontenc
Add_dependency full libXext
Add_dependency full libXau
Add_dependency full libpciaccess
Add_dependency full libXmu
Add_dependency full libXrender
Add_dependency full libXfixes
Add_dependency full libXi
Add_dependency full libXaw
Add_dependency full libXt
Add_dependency full libXpm
Add_dependency full libXcomposite
Add_dependency full libXScrnSaver
Add_dependency full libXevie
Add_dependency full libXres
Add_dependency full libXtst
Add_dependency full libXxf86dga
Add_dependency full libdmx
Add_dependency full libxkbui
Add_dependency full libxkbfile
Add_dependency full libXxf86misc
Add_dependency full libXxf86vm
Add_dependency full libXv
Add_dependency full libXinerama
Add_dependency full libXrandr
Add_dependency full MesaLib
Add_dependency full pixman
Add_dependency full xkbcomp
Add_dependency full xkeyboard-config
Add_dependency build xf86driproto
Add_dependency build perl
Add_dependency build pkg-config
Add_dependency build flex
pre_configure()
{
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' $wrksrc/config/Makefile.*
}
post_install()
{
rm -rf ${DESTDIR}/var/log
}