1
0

Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= nspr
  5. PKG_VERSION:= 4.10.6
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= df69ac8b0126f11907792384468adf42712b1d6db9772f4aa20c6d471594644a
  8. PKG_DESCR:= netscape portable runtime library
  9. PKG_SECTION:= libs/misc
  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_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. WRKSRC= ${WRKDIST}/nspr
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,NSPR,nspr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIGURE_ENV+= OS_TARGET="Linux" \
  18. HOST_CC="${HOST_CC}" \
  19. HOST_CFLAGS="${HOST_CFLAGS}"
  20. ifeq (${ADK_LINUX_64},y)
  21. CONFIGURE_ARGS+= --enable-64bit
  22. endif
  23. nspr-install:
  24. $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk