summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-02-10 21:21:28 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-02-10 21:21:28 +0000
commit496ed91e6b0bea785c7f123cd49a014d65befbba (patch)
tree5e7fe53b08740e6083960361e60bad6296afcaa9 /dev-libs/nspr
parentJaphar Java VM (diff)
downloadgentoo-2-496ed91e6b0bea785c7f123cd49a014d65befbba.tar.gz
gentoo-2-496ed91e6b0bea785c7f123cd49a014d65befbba.tar.bz2
gentoo-2-496ed91e6b0bea785c7f123cd49a014d65befbba.zip
Netscape Portable Runtime 4.1.2
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r--dev-libs/nspr/ChangeLog11
-rw-r--r--dev-libs/nspr/files/digest-nspr-4.1.21
-rw-r--r--dev-libs/nspr/nspr-4.1.2.ebuild48
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog
new file mode 100644
index 000000000000..39201fcc6c08
--- /dev/null
+++ b/dev-libs/nspr/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/nspr
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.1 2002/02/10 21:21:28 karltk Exp $
+
+*nspr-4.1.2 ( 10 Feb 2002 )
+
+ 10 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog files/digest-nspr-4.1.2 nspr-4.1.2.ebuild :
+
+ Netscape Portable Runtime (NSPR) provides a platform-neutral API for system
+ level and libc like functions. The API is used in the Mozilla client, many
+ of Netscape/AOL/iPlanet's and other software offerings.
diff --git a/dev-libs/nspr/files/digest-nspr-4.1.2 b/dev-libs/nspr/files/digest-nspr-4.1.2
new file mode 100644
index 000000000000..7d57e9fd1b43
--- /dev/null
+++ b/dev-libs/nspr/files/digest-nspr-4.1.2
@@ -0,0 +1 @@
+MD5 cdbfa573242fa678766d19401f424567 nspr-4.1.2.tar.gz 1232896
diff --git a/dev-libs/nspr/nspr-4.1.2.ebuild b/dev-libs/nspr/nspr-4.1.2.ebuild
new file mode 100644
index 000000000000..8243dea8cd6c
--- /dev/null
+++ b/dev-libs/nspr/nspr-4.1.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Tools Team <tools@gentoo.org>
+# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.1.2.ebuild,v 1.1 2002/02/10 21:21:28 karltk Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Netscape Portabel Runtime"
+SRC_URI="ftp://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz"
+HOMEPAGE="http://www.mozilla.org/projects/nspr/"
+
+DEPEND="virtual/glibc"
+#RDEPEND=""
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ mkdir ${S}/build
+ mkdir ${S}/inst
+}
+src_compile() {
+ cd ${S}/build
+ ../mozilla/nsprpub/configure \
+ --host=${CHOST} \
+ --prefix=${S}/inst \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make || die
+}
+
+src_install () {
+ # Their build system is royally fucked, as usual
+ dolib ${S}/inst/bin/lib*.so
+ dolib ${S}/inst/lib/lib*.a
+
+ insinto /usr/include/nspr
+ doins ${S}/inst/include/*.h
+
+ insinto /usr/include/nspr/md
+ doins ${S}/inst/include/md/*.cfg
+
+ insinto /usr/include/nspr/private
+ doins ${S}/inst/include/private/*.h
+
+ insinto /usr/include/nspr/obsolete
+ doins ${S}/inst/include/obsolete/*.h
+
+ cd ${S}/mozilla/nsprpub
+}