2009-03-19 01:03:15 +01:00
|
|
|
# Template build file for 'libX11'.
|
2008-10-04 06:29:49 +02:00
|
|
|
pkgname=libX11
|
2012-06-02 15:56:39 +02:00
|
|
|
version=1.5.0
|
2013-04-07 19:00:16 +02:00
|
|
|
revision=4
|
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
|
2013-03-24 10:21:58 +01:00
|
|
|
--disable-secure-rpc --disable-static"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
|
2013-02-05 13:55:07 +01:00
|
|
|
kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"
|
2012-05-27 10:06:07 +02:00
|
|
|
subpackages="$pkgname-devel"
|
2008-09-30 04:02:44 +02:00
|
|
|
short_desc="Base X libraries from modular Xorg X11"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
2012-06-02 15:56:39 +02:00
|
|
|
checksum=c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86
|
2009-02-09 02:01:28 +01:00
|
|
|
|
2013-03-24 10:21:58 +01:00
|
|
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
2013-04-07 19:08:30 +02:00
|
|
|
hostmakedepends="pkg-config libtool automake xorg-util-macros ${makedepends}"
|
2013-02-12 14:42:31 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's|$(srcdir)/||g' -i nls/Makefile.am
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2012-02-13 14:00:41 +01:00
|
|
|
post_install() {
|
2011-07-29 08:21:25 +02:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|