Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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:= ORBit2
  5. PKG_VERSION:= 2.14.19
  6. PKG_EXTRAVER:= 2.14
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 87c69c56c6d0bdafa4de5e18ae115cc9
  9. PKG_DESCR:= a CORBA 2.4-compliant Object Request Broker
  10. PKG_SECTION:= libs
  11. PKG_BUILDDEP:= libIDL
  12. PKG_URL:= http://projects.gnome.org/ORBit2/
  13. PKG_SITES:= ftp://ftp.gnome.org//pub/gnome/sources/ORBit2/${PKG_EXTRAVER}/
  14. PKG_ARCH_DEPENDS:= !arm !cris
  15. PKG_SUBPKGS:= ORBIT2 ORBIT2_DEV
  16. PKGSD_ORBIT2_DEV:= orbit2 headers
  17. PKGSC_ORBIT2_DEV:= devel
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,ORBIT2_DEV,orbit2-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ORBIT2_DEV},${PKGSC_ORBIT2_DEV}))
  21. CFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --cflags)
  22. LDFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --libs)
  23. LDFLAGS_FOR_BUILD+= -lgmodule-2.0
  24. CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
  25. ac_cv_alignof_CORBA_boolean=1 \
  26. ac_cv_alignof_CORBA_char=1 \
  27. ac_cv_alignof_CORBA_wchar=2 \
  28. ac_cv_alignof_CORBA_short=2 \
  29. ac_cv_alignof_CORBA_long=4 \
  30. ac_cv_alignof_CORBA_long_long=4 \
  31. ac_cv_alignof_CORBA_float=4 \
  32. ac_cv_alignof_CORBA_double=4 \
  33. ac_cv_alignof_CORBA_long_double=4 \
  34. ac_cv_alignof_CORBA_struct=1 \
  35. ac_cv_alignof_CORBA_pointer=4
  36. orbit2-install:
  37. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/lib
  38. $(INSTALL_BIN) $(WRKINST)/usr/lib/libORBit*.so* \
  39. $(IDIR_ORBIT2)/usr/lib
  40. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/bin
  41. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  42. $(IDIR_ORBIT2)/usr/bin
  43. $(INSTALL_DIR) $(STAGING_DIR)/usr/bin
  44. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  45. $(STAGING_DIR)/usr/bin
  46. orbit2-dev-install:
  47. $(INSTALL_DIR) $(IDIR_ORBIT2_DEV)/usr/include
  48. $(CP) $(WRKINST)/usr/include/* \
  49. $(IDIR_ORBIT2_DEV)/usr/include
  50. $(INSTALL_DIR) $(IDIR_ORBIT2_DEV)/usr/lib/pkgconfig
  51. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  52. $(IDIR_ORBIT2_DEV)/usr/lib/pkgconfig
  53. include ${TOPDIR}/mk/pkg-bottom.mk