1
0

Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --cflags)
  17. LDFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --libs)
  18. LDFLAGS_FOR_BUILD+= -lgmodule-2.0
  19. CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
  20. ac_cv_alignof_CORBA_boolean=1 \
  21. ac_cv_alignof_CORBA_char=1 \
  22. ac_cv_alignof_CORBA_wchar=2 \
  23. ac_cv_alignof_CORBA_short=2 \
  24. ac_cv_alignof_CORBA_long=4 \
  25. ac_cv_alignof_CORBA_long_long=4 \
  26. ac_cv_alignof_CORBA_float=4 \
  27. ac_cv_alignof_CORBA_double=4 \
  28. ac_cv_alignof_CORBA_long_double=4 \
  29. ac_cv_alignof_CORBA_struct=1 \
  30. ac_cv_alignof_CORBA_pointer=4
  31. orbit2-install:
  32. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/lib
  33. $(INSTALL_BIN) $(WRKINST)/usr/lib/libORBit*.so* \
  34. $(IDIR_ORBIT2)/usr/lib
  35. $(INSTALL_DIR) $(STAGING_DIR)/usr/bin
  36. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  37. $(STAGING_DIR)/usr/bin
  38. include ${TOPDIR}/mk/pkg-bottom.mk