void-packages/srcpkgs/libX11/template

30 lines
926 B
Text
Raw Normal View History

# Template build file for 'libX11'.
pkgname=libX11
2012-06-02 13:56:39 +00:00
version=1.5.0
2013-04-07 17:00:16 +00:00
revision=4
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--disable-secure-rpc --disable-static"
hostmakedepends="pkg-config"
makedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"
2012-05-27 08:06:07 +00:00
subpackages="$pkgname-devel"
short_desc="Base X libraries from modular Xorg X11"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-07-29 06:21:25 +00:00
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
2012-06-02 13:56:39 +00:00
checksum=c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libtool automake xorg-util-macros xproto xtrans"
pre_configure() {
sed -e 's|$(srcdir)/||g' -i nls/Makefile.am
autoreconf -fi
}
fi
post_install() {
2011-07-29 06:21:25 +00:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}