vp-build/srcpkgs/xorg-server/template
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00

72 lines
2.1 KiB
Plaintext

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.7.1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-record --with-dri-driver-path=/usr/lib/dri
--enable-glx-tls --localstatedir=/var --disable-static
--enable-config-dbus --sysconfdir=/etc/X11 --enable-config-hal
--enable-install-setuid --with-xkb-path=/usr/share/X11/xkb
--with-xkb-output=/var/lib/xkb"
short_desc="Modular X11 server from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a58c0de29cbd2b7d1a1ac5ee70a94ad1ed2a085132803c0ca83f2dd8513b4c20
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="$pkgname-devel"
Add_dependency build dri2proto ">=2.1"
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 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
}