summaryrefslogtreecommitdiff
path: root/package/libIDL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libIDL/Makefile')
-rw-r--r--package/libIDL/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index 749782019..89c0311d6 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -17,10 +17,19 @@ include $(TOPDIR)/mk/package.mk
CONFIGURE_ENV+= libIDL_cv_long_long_format=ll
$(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBIDL_DEV,libidl-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-post-install:
+libidl-install:
$(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib
$(CP) $(WRKINST)/usr/lib/libIDL*.so* \
$(IDIR_LIBIDL)/usr/lib
+libidl-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBIDL_DEV)/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/libIDL-config-2 \
+ $(IDIR_LIBIDL_DEV)/usr/bin
+ $(INSTALL_DIR) $(IDIR_LIBIDL_DEV)/usr/lib/pkgconfig
+ ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBIDL_DEV)/usr/lib/pkgconfig
+
include ${TOPDIR}/mk/pkg-bottom.mk