blob: 9f4243f499b443219967f2b9de500c8216f1129c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nspr
PKG_VERSION:= 4.10.10
PKG_RELEASE:= 1
PKG_HASH:= 343614971c30520d0fa55f4af0a72578e2d8674bb71caf7187490c3379523107
PKG_DESCR:= netscape portable runtime library
PKG_SECTION:= libs/misc
PKG_URL:= http://www.mozilla.org/projects/nspr/
PKG_SITES:= https://ftp.mozilla.org/pub/nspr/releases/v$(PKG_VERSION)/src/
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKSRC= ${WRKDIST}/nspr
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NSPR,nspr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ENV+= OS_TARGET="Linux" \
HOST_CC="${HOST_CC}" \
HOST_CFLAGS="${HOST_CFLAGS}"
ifeq (${ADK_LINUX_64},y)
CONFIGURE_ARGS+= --enable-64bit
endif
nspr-install:
$(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
$(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|