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