summaryrefslogtreecommitdiff
path: root/package/libXaw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXaw/Makefile')
-rw-r--r--package/libXaw/Makefile11
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