Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= libsigc++
  5. PKG_VERSION:= 2.2.4.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a79b2fe9de69b40e020617c7a652d704
  8. PKG_DESCR:= Callback framework for C++
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://libsigc.sourceforge.net
  11. PKG_SITES:= ${MASTER_SITE_GNOME:=libsigc++/2.2/}
  12. #PKG_CXX:= LIBSIGCXX
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBSIGCXX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. #ifeq ($(ADK_COMPILE_LIBSIGCXX_WITH_UCLIBCXX),y)
  16. #CONFIGURE_ENV+= CXXFLAGS="-fno-builtin -fno-rtti -nostdinc++ \
  17. # -I${STAGING_DIR}/usr/include/uClibc++" \
  18. # LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc"
  19. #endif
  20. CONFIGURE_STYLE:= gnu
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. #ifeq (${ADK_COMPILE_LIBSIGCXX_WITH_UCLIBCXX},y)
  24. # add workaround because libtool tries to link libstdc++
  25. #post-configure:
  26. # ${SED} 's#postdeps="-lstdc.*#postdeps=""#' \
  27. # ${WRKBUILD}/libtool
  28. #endif
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_LIBSIGCXX}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/libsigc-2.0.so.* ${IDIR_LIBSIGCXX}/usr/lib/
  32. include ${TOPDIR}/mk/pkg-bottom.mk