summaryrefslogtreecommitdiffstats
path: root/base/nspr
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-28 22:50:42 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-28 22:50:42 +0100
commit19876401fe34b7bcd02e0677903b70bd321fee67 (patch)
tree56a3aa1eee618b3fc243c2962a0a24842657f378 /base/nspr
parenta84f186941d491bb457c09c9685b4d72a5780cb4 (diff)
downloadnutyx-pakxe-19876401fe34b7bcd02e0677903b70bd321fee67.tar.gz
nutyx-pakxe-19876401fe34b7bcd02e0677903b70bd321fee67.tar.bz2
nutyx-pakxe-19876401fe34b7bcd02e0677903b70bd321fee67.tar.xz
nutyx-pakxe-19876401fe34b7bcd02e0677903b70bd321fee67.zip
Maj nspr#4.8.2-1
Diffstat (limited to 'base/nspr')
-rw-r--r--base/nspr/.footprint75
-rw-r--r--base/nspr/.md5sum2
-rw-r--r--base/nspr/Pkgfile46
-rw-r--r--base/nspr/nspr.pc.in10
4 files changed, 133 insertions, 0 deletions
diff --git a/base/nspr/.footprint b/base/nspr/.footprint
new file mode 100644
index 000000000..8d753678d
--- /dev/null
+++ b/base/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/base/nspr/.md5sum b/base/nspr/.md5sum
new file mode 100644
index 000000000..1c4336683
--- /dev/null
+++ b/base/nspr/.md5sum
@@ -0,0 +1,2 @@
+2a6fbfa56c9760ed3651d527272249c7 nspr-4.8.2.tar.gz
+2083f33e11dfe15feb7bf9bca0f6c44b nspr.pc.in
diff --git a/base/nspr/Pkgfile b/base/nspr/Pkgfile
new file mode 100644
index 000000000..763ab22c4
--- /dev/null
+++ b/base/nspr/Pkgfile
@@ -0,0 +1,46 @@
+# Description: Netscape Portable Runtime library
+# URL: http://www.mozilla.org/projects/nspr/
+# Maintainer: Fredrik Rinnestam, fredrik at rinnestam dot se
+# Packager: thierryn1 at hispeed dot ch
+
+name=nspr
+version=4.8.2
+release=1
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.2/src/$name-$version.tar.gz
+ $name.pc.in)
+
+build() {
+ _ARCH=`uname -m`
+ local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
+ [ "`uname -m`" == "x86_64" ] && confflags="--enable-64bit"
+ cd $name-$version
+
+ ./mozilla/nsprpub/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/nspr \
+ --enable-optimize="$CFLAGS" \
+ --disable-debug ${confflags}
+
+ 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/base/nspr/nspr.pc.in b/base/nspr/nspr.pc.in
new file mode 100644
index 000000000..9951a5b5d
--- /dev/null
+++ b/base/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@