void-packages/srcpkgs/libX11/template
2013-02-12 14:43:25 +01:00

31 lines
1 KiB
Text

# Template build file for 'libX11'.
pkgname=libX11
version=1.5.0
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--disable-secure-rpc --disable-static"
makedepends="pkg-config xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"
subpackages="$pkgname-devel"
short_desc="Base X libraries from modular Xorg X11"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake xorg-util-macros ${makedepends}"
crossmakedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2
xf86bigfontproto libxcb-devel"
pre_configure() {
sed -e 's|$(srcdir)/||g' -i nls/Makefile.am
autoreconf -fi
}
fi
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}