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