Makefile 1005 B

12345678910111213141516171819202122232425262728293031323334
  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:= nspr
  5. PKG_VERSION:= 4.8.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 592c275728c29d193fdba8009165990b
  8. PKG_DESCR:= Netscape Portable Runtime library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.mozilla.org/projects/nspr/
  11. PKG_SITES:= ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PKG_VERSION}/src/
  12. PKG_TARGET_DEPENDS:= !foxboard
  13. WRKSRC= ${WRKDIST}/mozilla/nsprpub
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,NSPR,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= OS_TARGET="Linux" HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \
  17. cross_compiling=yes
  18. ifeq (${ADK_LINUX_64},y)
  19. CONFIGURE_ARGS+= --enable-64bit
  20. endif
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk