nspr: abandon package
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
2ecebe6297
commit
e632f4852d
2 changed files with 0 additions and 86 deletions
|
@ -1,60 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=nspr
|
|
||||||
PKG_VERSION:=3.16.6
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/nss-$(PKG_VERSION)
|
|
||||||
PKG_SOURCE:=nss-$(PKG_VERSION)-with-nspr-4.10.6.tar.gz
|
|
||||||
PKG_SOURCE_URL:=ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_6_RTM/src/
|
|
||||||
PKG_MD5SUM:=4722706ea101948712b5ad003629679f
|
|
||||||
PKG_INSTALL:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
CONFIGURE_PATH=nspr
|
|
||||||
MAKE_PATH=nspr
|
|
||||||
|
|
||||||
define Package/nspr
|
|
||||||
SECTION:=libs
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
TITLE:=Netscape Portable Runtime (NSPR)
|
|
||||||
URL:=https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
|
|
||||||
DEPENDS:=+libpthread +librt
|
|
||||||
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/nspr/description
|
|
||||||
Netscape Portable Runtime (NSPR) provides a platform-neutral API for system
|
|
||||||
level and libc-like functions. The API is used in the Mozilla clients, many of
|
|
||||||
Red Hat's and Sun's server applications, and other software offerings.
|
|
||||||
endef
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
|
||||||
--with-arch=toolchain-default \
|
|
||||||
--with-fpu=toolchain-default \
|
|
||||||
--with-float-abi=toolchain-default \
|
|
||||||
--with-soft-float=toolchain-default
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ $(1)/usr/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*{a,so} $(1)/usr/lib/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/nspr.pc $(1)/usr/lib/pkgconfig/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/nspr/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*so $(1)/usr/lib
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,nspr))
|
|
|
@ -1,26 +0,0 @@
|
||||||
--- a/nspr/config/Makefile.in
|
|
||||||
+++ b/nspr/config/Makefile.in
|
|
||||||
@@ -30,7 +30,6 @@ CSRCS = now.c
|
|
||||||
|
|
||||||
# This version hasn't been ported for us; the one in mozilla/config has
|
|
||||||
ifneq ($(OS_ARCH),OS2)
|
|
||||||
-CSRCS += nsinstall.c
|
|
||||||
|
|
||||||
PLSRCS = nfspwd.pl
|
|
||||||
endif
|
|
||||||
@@ -84,7 +83,6 @@ else
|
|
||||||
ifeq (,$(filter-out SYMBIAN WINCE,$(OS_ARCH)))
|
|
||||||
TARGETS = $(PROGS)
|
|
||||||
else
|
|
||||||
-PROGS += $(OBJDIR)/nsinstall$(PROG_SUFFIX)
|
|
||||||
TARGETS = $(PROGS) $(PLSRCS:.pl=)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
@@ -114,6 +112,7 @@ endif
|
|
||||||
$(OBJDIR)/%$(PROG_SUFFIX): $(OBJDIR)/%.$(OBJ_SUFFIX)
|
|
||||||
@$(MAKE_OBJDIR)
|
|
||||||
$(CC) $(XCFLAGS) $< $(LDFLAGS) $(XLDOPTS) $(OUTOPTION)$@
|
|
||||||
+ gcc nsinstall.c -o nsinstall
|
|
||||||
|
|
||||||
install:: nspr.m4
|
|
||||||
$(NSINSTALL) -D $(DESTDIR)$(datadir)/aclocal
|
|
Loading…
Reference in a new issue