add simulator target for h8/300, reorg no-MMU
[openadk.git] / package / nspr / Makefile
blobc1204a310ef85d41f22772aad71e7b46e3ccd16d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= nspr
7 PKG_VERSION:= 4.10.6
8 PKG_RELEASE:= 1
9 PKG_HASH:= df69ac8b0126f11907792384468adf42712b1d6db9772f4aa20c6d471594644a
10 PKG_DESCR:= netscape portable runtime library
11 PKG_SECTION:= libs/misc
12 PKG_URL:= http://www.mozilla.org/projects/nspr/
13 PKG_SITES:= ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PKG_VERSION}/src/
14 PKG_OPTS:= dev
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 WRKSRC= ${WRKDIST}/nspr
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,NSPR,nspr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 CONFIGURE_ENV+= OS_TARGET="Linux" \
24 HOST_CC="${HOST_CC}" \
25 HOST_CFLAGS="${HOST_CFLAGS}"
27 ifeq (${ADK_LINUX_64},y)
28 CONFIGURE_ARGS+= --enable-64bit
29 endif
31 nspr-install:
32 $(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
33 $(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk