diff options
Diffstat (limited to 'package/nspr')
-rw-r--r-- | package/nspr/Config.in | 5 | ||||
-rw-r--r-- | package/nspr/Makefile | 30 |
2 files changed, 35 insertions, 0 deletions
diff --git a/package/nspr/Config.in b/package/nspr/Config.in new file mode 100644 index 000000000..9cc1e9cbb --- /dev/null +++ b/package/nspr/Config.in @@ -0,0 +1,5 @@ +config ADK_PACKAGE_NSPR + prompt "nspr.............................. Red Hat package manager" + tristate + default n + help diff --git a/package/nspr/Makefile b/package/nspr/Makefile new file mode 100644 index 000000000..aa6a168bd --- /dev/null +++ b/package/nspr/Makefile @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= nspr +PKG_VERSION:= 4.8 +PKG_RELEASE:= 1 +PKG_MD5SUM:= e0916a72bcc6c427551ea262183fdb26 +PKG_DESCR:= NSPR library +PKG_SECTION:= libs +PKG_URL:= http://www.mozilla.org/projects/nspr/ +PKG_SITES:= https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8/src/ + +WRKSRC= ${WRKDIST}/mozilla/nsprpub + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,NSPR,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ENV+= HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" +CONFIGURE_STYLE= gnu +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib + $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk |