void-packages/srcpkgs/libX11/template

39 lines
1.1 KiB
Text
Raw Normal View History

# Template build file for 'libX11'.
pkgname=libX11
2013-09-13 08:13:58 +00:00
version=1.6.2
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"
short_desc="Base X libraries from Xorg"
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"
2013-09-13 08:13:58 +00:00
checksum=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16
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() {
2011-07-29 06:21:25 +00:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libX11-devel_package() {
depends="xproto kbproto libxcb-devel ${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
}
}