summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/nspr/.footprint75
-rw-r--r--extra/nspr/.md5sum2
-rw-r--r--extra/nspr/Pkgfile46
-rw-r--r--extra/nspr/nspr.pc.in10
4 files changed, 133 insertions, 0 deletions
diff --git a/extra/nspr/.footprint b/extra/nspr/.footprint
new file mode 100644
index 000000000..8d753678d
--- /dev/null
+++ b/extra/nspr/.footprint
@@ -0,0 +1,75 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/nspr-config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/nspr/
+-rw-r--r-- root/root usr/include/nspr/nspr.h
+drwxr-xr-x root/root usr/include/nspr/obsolete/
+-rw-r--r-- root/root usr/include/nspr/obsolete/pralarm.h
+-rw-r--r-- root/root usr/include/nspr/obsolete/probslet.h
+-rw-r--r-- root/root usr/include/nspr/obsolete/protypes.h
+-rw-r--r-- root/root usr/include/nspr/obsolete/prsem.h
+-rw-r--r-- root/root usr/include/nspr/plarena.h
+-rw-r--r-- root/root usr/include/nspr/plarenas.h
+-rw-r--r-- root/root usr/include/nspr/plbase64.h
+-rw-r--r-- root/root usr/include/nspr/plerror.h
+-rw-r--r-- root/root usr/include/nspr/plgetopt.h
+-rw-r--r-- root/root usr/include/nspr/plhash.h
+-rw-r--r-- root/root usr/include/nspr/plresolv.h
+-rw-r--r-- root/root usr/include/nspr/plstr.h
+-rw-r--r-- root/root usr/include/nspr/pratom.h
+-rw-r--r-- root/root usr/include/nspr/prbit.h
+-rw-r--r-- root/root usr/include/nspr/prclist.h
+-rw-r--r-- root/root usr/include/nspr/prcmon.h
+-rw-r--r-- root/root usr/include/nspr/prcountr.h
+-rw-r--r-- root/root usr/include/nspr/prcpucfg.h
+-rw-r--r-- root/root usr/include/nspr/prcvar.h
+-rw-r--r-- root/root usr/include/nspr/prdtoa.h
+-rw-r--r-- root/root usr/include/nspr/prenv.h
+-rw-r--r-- root/root usr/include/nspr/prerr.h
+-rw-r--r-- root/root usr/include/nspr/prerror.h
+-rw-r--r-- root/root usr/include/nspr/prinet.h
+-rw-r--r-- root/root usr/include/nspr/prinit.h
+-rw-r--r-- root/root usr/include/nspr/prinrval.h
+-rw-r--r-- root/root usr/include/nspr/prio.h
+-rw-r--r-- root/root usr/include/nspr/pripcsem.h
+drwxr-xr-x root/root usr/include/nspr/private/
+-rw-r--r-- root/root usr/include/nspr/private/pprio.h
+-rw-r--r-- root/root usr/include/nspr/private/pprthred.h
+-rw-r--r-- root/root usr/include/nspr/private/prpriv.h
+-rw-r--r-- root/root usr/include/nspr/prlink.h
+-rw-r--r-- root/root usr/include/nspr/prlock.h
+-rw-r--r-- root/root usr/include/nspr/prlog.h
+-rw-r--r-- root/root usr/include/nspr/prlong.h
+-rw-r--r-- root/root usr/include/nspr/prmem.h
+-rw-r--r-- root/root usr/include/nspr/prmon.h
+-rw-r--r-- root/root usr/include/nspr/prmwait.h
+-rw-r--r-- root/root usr/include/nspr/prnetdb.h
+-rw-r--r-- root/root usr/include/nspr/prolock.h
+-rw-r--r-- root/root usr/include/nspr/prpdce.h
+-rw-r--r-- root/root usr/include/nspr/prprf.h
+-rw-r--r-- root/root usr/include/nspr/prproces.h
+-rw-r--r-- root/root usr/include/nspr/prrng.h
+-rw-r--r-- root/root usr/include/nspr/prrwlock.h
+-rw-r--r-- root/root usr/include/nspr/prshm.h
+-rw-r--r-- root/root usr/include/nspr/prshma.h
+-rw-r--r-- root/root usr/include/nspr/prsystem.h
+-rw-r--r-- root/root usr/include/nspr/prthread.h
+-rw-r--r-- root/root usr/include/nspr/prtime.h
+-rw-r--r-- root/root usr/include/nspr/prtpool.h
+-rw-r--r-- root/root usr/include/nspr/prtrace.h
+-rw-r--r-- root/root usr/include/nspr/prtypes.h
+-rw-r--r-- root/root usr/include/nspr/prvrsion.h
+-rw-r--r-- root/root usr/include/nspr/prwin16.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libnspr4.a
+-rwxr-xr-x root/root usr/lib/libnspr4.so
+-rwxr-xr-x root/root usr/lib/libplc4.a
+-rwxr-xr-x root/root usr/lib/libplc4.so
+-rwxr-xr-x root/root usr/lib/libplds4.a
+-rwxr-xr-x root/root usr/lib/libplds4.so
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/nspr.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/aclocal/
+-rw-r--r-- root/root usr/share/aclocal/nspr.m4
diff --git a/extra/nspr/.md5sum b/extra/nspr/.md5sum
new file mode 100644
index 000000000..7b7c79354
--- /dev/null
+++ b/extra/nspr/.md5sum
@@ -0,0 +1,2 @@
+e0916a72bcc6c427551ea262183fdb26 nspr-4.8.tar.gz
+2083f33e11dfe15feb7bf9bca0f6c44b nspr.pc.in
diff --git a/extra/nspr/Pkgfile b/extra/nspr/Pkgfile
new file mode 100644
index 000000000..a9a4b0824
--- /dev/null
+++ b/extra/nspr/Pkgfile
@@ -0,0 +1,46 @@
+# Description: Netscape Portable Runtime library
+# URL: http://www.mozilla.org/projects/nspr/
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=nspr
+version=4.8
+release=1
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8/src/$name-$version.tar.gz
+ $name.pc.in)
+
+build() {
+ local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
+
+ cd $name-$version
+
+ ./mozilla/nsprpub/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/nspr \
+ --enable-optimize="$CFLAGS" \
+ --disable-debug
+
+ make
+ make DESTDIR=$PKG install
+
+ NSPR_LIBS=`./config/nspr-config --libs`
+ NSPR_CFLAGS=`./config/nspr-config --cflags`
+ NSPR_VERSION=`./config/nspr-config --version`
+
+ install -d $PKG/usr/lib/pkgconfig
+
+ sed $SRC/nspr.pc.in \
+ -e "s,@libdir@,/usr/lib," \
+ -e "s,@prefix@,/usr," \
+ -e "s,@exec_prefix@,/usr/bin," \
+ -e "s,@includedir@,/usr/include/nspr," \
+ -e "s,@NSPR_VERSION@,$NSPR_VERSION," \
+ -e "s,@FULL_NSPR_LIBS@,$NSPR_LIBS," \
+ -e "s,@FULL_NSPR_CFLAGS@,$NSPR_CFLAGS," > \
+ $PKG/usr/lib/pkgconfig/nspr.pc
+
+ rm $PKG/usr/bin/{compile-et.pl,prerr.properties}
+ rm -r $PKG/usr/include/nspr/md
+}
diff --git a/extra/nspr/nspr.pc.in b/extra/nspr/nspr.pc.in
new file mode 100644
index 000000000..9951a5b5d
--- /dev/null
+++ b/extra/nspr/nspr.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: NSPR
+Description: The Netscape Portable Runtime
+Version: @NSPR_VERSION@
+Libs: @FULL_NSPR_LIBS@
+Cflags: @FULL_NSPR_CFLAGS@