1
0

Makefile 1018 B

123456789101112131415161718192021222324252627282930313233
  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.10.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= f0d254da0b2b870d9a5fa094e879d4b8
  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_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. WRKSRC= ${WRKDIST}/nspr
  15. include $(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" HOST_CC="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}"
  18. ifeq (${ADK_LINUX_64},y)
  19. CONFIGURE_ARGS+= --enable-64bit
  20. endif
  21. nspr-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