diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-24 17:41:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-24 17:41:36 +0100 |
commit | 0aabef127155575e8c8d660605f9401ab15356aa (patch) | |
tree | b8cd5f06c60cd4e95fd7a2923dabb3b831dd93b3 /package/libXaw/Makefile | |
parent | 0b09c2710166bd95ac9033b048bb6cbf7b4de7c2 (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/libXaw/Makefile')
-rw-r--r-- | package/libXaw/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package/libXaw/Makefile b/package/libXaw/Makefile index ba6d24f92..d4211c992 100644 --- a/package/libXaw/Makefile +++ b/package/libXaw/Makefile @@ -12,12 +12,19 @@ PKG_SECTION:= x11/libs PKG_BUILDDEP:= libXext libXmu libXpm PKG_SITES:= ${MASTER_SITE_XORG} +PKG_SUBPKGS:= LIBXAW LIBXAW_DEV + include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBXAW,libxaw,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBXAW_DEV,libxaw-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -post-install: +libxaw-install: ${INSTALL_DIR} ${IDIR_LIBXAW}/usr/lib - ${CP} ${WRKINST}/usr/lib/libXaw*.so* ${IDIR_LIBXAW}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libXaw*.so* ${IDIR_LIBXAW}/usr/lib + +libxaw-dev-install: + ${INSTALL_DIR} ${IDIR_LIBXAW_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXAW_DEV}/usr/include include ${TOPDIR}/mk/pkg-bottom.mk |