Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= 4
  8. PKG_MD5SUM:= 87c69c56c6d0bdafa4de5e18ae115cc9
  9. PKG_DESCR:= a CORBA 2.4-compliant Object Request Broker
  10. PKG_SECTION:= libs
  11. PKG_BUILDDEP:= gettext-tiny glib-host libIDL-host libIDL
  12. PKG_URL:= http://projects.gnome.org/ORBit2/
  13. PKG_SITES:= ftp://ftp.gnome.org//pub/gnome/sources/ORBit2/${PKG_EXTRAVER}/
  14. PKG_LIBNAME:= orbit2
  15. PKG_OPTS:= dev
  16. PKG_ARCH_DEPENDS:= !cris
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CFLAGS_FOR_BUILD+= $(shell PATH=$(HOST_PATH) libIDL-config-2 --cflags)
  20. LDFLAGS_FOR_BUILD+= $(shell PATH=$(HOST_PATH) libIDL-config-2 --libs)
  21. LDFLAGS_FOR_BUILD+= -lgmodule-2.0
  22. CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
  23. ac_cv_alignof_CORBA_boolean=1 \
  24. ac_cv_alignof_CORBA_char=1 \
  25. ac_cv_alignof_CORBA_wchar=2 \
  26. ac_cv_alignof_CORBA_short=2 \
  27. ac_cv_alignof_CORBA_long=4 \
  28. ac_cv_alignof_CORBA_long_long=4 \
  29. ac_cv_alignof_CORBA_float=4 \
  30. ac_cv_alignof_CORBA_double=4 \
  31. ac_cv_alignof_CORBA_long_double=4 \
  32. ac_cv_alignof_CORBA_struct=1 \
  33. ac_cv_alignof_CORBA_pointer=4 \
  34. ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=no
  35. orbit2-install:
  36. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/lib
  37. $(INSTALL_BIN) $(WRKINST)/usr/lib/libORBit*.so* \
  38. $(IDIR_ORBIT2)/usr/lib
  39. $(INSTALL_DIR) $(STAGING_DIR)/usr/bin
  40. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  41. $(STAGING_DIR)/usr/bin
  42. include ${TOPDIR}/mk/pkg-bottom.mk