Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= ORBit2
  5. PKG_VERSION:= 2.14.19
  6. PKG_EXTRAVER:= 2.14
  7. PKG_RELEASE:= 5
  8. PKG_MD5SUM:= 87c69c56c6d0bdafa4de5e18ae115cc9
  9. PKG_DESCR:= corba 2.4-compliant object request broker
  10. PKG_SECTION:= libs/misc
  11. PKG_BUILDDEP:= gettext-tiny glib libIDL
  12. HOST_BULDDEP:= glib-host libIDL-host
  13. PKG_URL:= http://projects.gnome.org/ORBit2/
  14. PKG_SITES:= ftp://ftp.gnome.org//pub/gnome/sources/ORBit2/${PKG_EXTRAVER}/
  15. PKG_LIBNAME:= orbit2
  16. PKG_OPTS:= dev
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. include $(ADK_TOPDIR)/mk/host.mk
  19. include $(ADK_TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. HOST_CFLAGS+= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --cflags)
  22. HOST_LDFLAGS+= -static
  23. HOST_LIBS:= $(shell env $(HOST_CONFIGURE_ENV) libIDL-config-2 --libs)
  24. HOST_LIBS+= -lgmodule-2.0 -ldl -lpthread -lrt -lglib-2.0
  25. CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
  26. ac_cv_alignof_CORBA_boolean=1 \
  27. ac_cv_alignof_CORBA_char=1 \
  28. ac_cv_alignof_CORBA_wchar=2 \
  29. ac_cv_alignof_CORBA_short=2 \
  30. ac_cv_alignof_CORBA_long=4 \
  31. ac_cv_alignof_CORBA_long_long=4 \
  32. ac_cv_alignof_CORBA_float=4 \
  33. ac_cv_alignof_CORBA_double=4 \
  34. ac_cv_alignof_CORBA_long_double=4 \
  35. ac_cv_alignof_CORBA_struct=1 \
  36. ac_cv_alignof_CORBA_pointer=4 \
  37. ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=no
  38. orbit2-install:
  39. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/lib
  40. $(INSTALL_BIN) $(WRKINST)/usr/lib/libORBit*.so* \
  41. $(IDIR_ORBIT2)/usr/lib
  42. $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/bin
  43. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  44. $(STAGING_TARGET_DIR)/usr/bin
  45. include ${ADK_TOPDIR}/mk/host-bottom.mk
  46. include ${ADK_TOPDIR}/mk/pkg-bottom.mk