1
0

Makefile 932 B

123456789101112131415161718192021222324252627282930
  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.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2a6fbfa56c9760ed3651d527272249c7
  8. PKG_DESCR:= Netscape Portable Runtime library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.mozilla.org/projects/nspr/
  11. PKG_SITES:= https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PKG_VERSION}/src/
  12. WRKSRC= ${WRKDIST}/mozilla/nsprpub
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,NSPR,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}"
  16. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk