summaryrefslogtreecommitdiff
path: root/package/nspr/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
commit98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (patch)
treea68345ba8ba7ee532e4b7426cadad31d7add24c0 /package/nspr/Makefile
parent09d28322f4828a387eeee03d303c833eab8828c5 (diff)
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/nspr/Makefile')
-rw-r--r--package/nspr/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/package/nspr/Makefile b/package/nspr/Makefile
index 7d686e61e..590b01c9d 100644
--- a/package/nspr/Makefile
+++ b/package/nspr/Makefile
@@ -11,19 +11,15 @@ PKG_DESCR:= Netscape Portable Runtime library
PKG_SECTION:= libs
PKG_URL:= http://www.mozilla.org/projects/nspr/
PKG_SITES:= ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PKG_VERSION}/src/
+PKG_OPTS:= dev
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,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}))
+$(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="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}"
@@ -35,8 +31,4 @@ 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