summaryrefslogtreecommitdiff
path: root/package/libX11
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
commit0aabef127155575e8c8d660605f9401ab15356aa (patch)
treeb8cd5f06c60cd4e95fd7a2923dabb3b831dd93b3 /package/libX11
parent0b09c2710166bd95ac9033b048bb6cbf7b4de7c2 (diff)
allow native build of a lot of packages
STAGING_TARGET_DIR is used for package Makefile's for include and library search path's. STAGING_DIR is used for common code in mk/ or Makefile/rules.mk. STAGING_TARGET_DIR is /usr when native builds are used.
Diffstat (limited to 'package/libX11')
-rw-r--r--package/libX11/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
index c2118216f..b6849296e 100644
--- a/package/libX11/Makefile
+++ b/package/libX11/Makefile
@@ -32,13 +32,17 @@ CONFIGURE_ARGS+= --enable-xlocale \
--disable-xf86bigfont \
--disable-malloc0returnsnull
-post-install:
+libx11-install:
${INSTALL_DIR} ${IDIR_LIBX11}/usr/lib ${IDIR_LIBX11}/usr/share/X11
${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libX11-xcb* ${IDIR_LIBX11}/usr/lib/
${CP} ${WRKINST}/usr/share/X11/XErrorDB ${IDIR_LIBX11}/usr/share/X11
libx11-dev-install:
${INSTALL_DIR} ${IDIR_LIBX11_DEV}/usr/include/X11
${CP} ${WRKINST}/usr/include/X11/*.h ${IDIR_LIBX11_DEV}/usr/include/X11
+ ${INSTALL_DIR} ${IDIR_LIBX11_DEV}/usr/lib/pkgconfig
+ ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ ${IDIR_LIBX11_DEV}/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk