diff options
Diffstat (limited to 'package/nspr/Makefile')
-rw-r--r-- | package/nspr/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/package/nspr/Makefile b/package/nspr/Makefile index ffdac8a55..7e46a80c6 100644 --- a/package/nspr/Makefile +++ b/package/nspr/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= nspr -PKG_VERSION:= 4.8.6 +PKG_VERSION:= 4.8.7 PKG_RELEASE:= 1 -PKG_MD5SUM:= 592c275728c29d193fdba8009165990b +PKG_MD5SUM:= 97e30989a56ab813453b71261849c200 PKG_DESCR:= Netscape Portable Runtime library PKG_SECTION:= libs PKG_URL:= http://www.mozilla.org/projects/nspr/ @@ -14,11 +14,16 @@ PKG_SITES:= ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PKG_VERSION} PKG_ARCH_DEPENDS:= !cris +PKG_SUBPKGS:= NSPR NSPR_DEV +PKGSC_NSPR_DEV:= devel +PKGSD_NSPR_DEV:= nspr headers + 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})) +$(eval $(call PKG_template,NSPR,nspr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,NSPR_DEV,nspr-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_NSPR_DEV},${PKGSC_NSPR_DEV})) CONFIGURE_ENV+= OS_TARGET="Linux" HOST_CC="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}" @@ -26,8 +31,12 @@ ifeq (${ADK_LINUX_64},y) CONFIGURE_ARGS+= --enable-64bit endif -post-install: +nspr-install: $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib +nspr-dev-install: + $(INSTALL_DIR) $(IDIR_NSPR_DEV)/usr/include + $(CP) $(WRKINST)/usr/include/* $(IDIR_NSPR_DEV)/usr/include + include ${TOPDIR}/mk/pkg-bottom.mk |