void-packages/srcpkgs/libX11/template

39 lines
1 KiB
Bash
Raw Normal View History

# Template build file for 'libX11'.
pkgname=libX11
2015-03-10 06:14:32 +00:00
version=1.6.3
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
hostmakedepends="pkg-config"
2015-03-10 06:14:32 +00:00
makedepends="xproto xextproto xtrans xcmiscproto kbproto bigreqsproto
inputproto xf86bigfontproto libxcb-devel"
short_desc="Base X libraries from Xorg"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-07-29 06:21:25 +00:00
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
2015-03-10 06:14:32 +00:00
checksum=cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111
if [ "$CROSS_BUILD" ]; then
2013-09-13 08:20:45 +00:00
hostmakedepends+=" libtool automake xorg-util-macros xproto xtrans"
pre_configure() {
2013-09-13 08:20:45 +00:00
autoreconf -fi
}
fi
post_install() {
2015-03-10 06:14:32 +00:00
vlicense COPYING
2011-07-29 06:21:25 +00:00
}
libX11-devel_package() {
2015-03-10 06:14:32 +00:00
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
2013-06-04 08:21:23 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-30 07:36:25 +00:00
vmove "usr/lib/*.so"
vmove usr/share/man
}
}