Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libIDL
  5. PKG_VERSION:= 0.8.14
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 531fbc1b40b80dd1d6f3b5e76b99067c
  8. PKG_DESCR:= libraries for Interface Definition Language files
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.gnome.org/
  11. PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
  12. PKG_SUBPKGS:= LIBIDL LIBIDL_DEV
  13. PKGSD_LIBIDL_DEV:= libidl headers
  14. PKGSC_LIBIDL_DEV:= devel
  15. include $(TOPDIR)/mk/package.mk
  16. CONFIGURE_ENV+= libIDL_cv_long_long_format=ll
  17. $(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBIDL_DEV,libidl-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBIDL_DEV},${PKGSC_LIBIDL_DEV}))
  19. libidl-install:
  20. $(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libIDL*.so* \
  22. $(IDIR_LIBIDL)/usr/lib
  23. libidl-dev-install:
  24. $(INSTALL_DIR) $(IDIR_LIBIDL_DEV)/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/libIDL-config-2 \
  26. $(IDIR_LIBIDL_DEV)/usr/bin
  27. $(INSTALL_DIR) $(IDIR_LIBIDL_DEV)/usr/lib/pkgconfig
  28. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  29. $(IDIR_LIBIDL_DEV)/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk