--- /dev/null
+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/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
--- /dev/null
+# Description: Netscape Portable Runtime library
+# URL: http://www.mozilla.org/projects/nspr/
+# Maintainer: Fredrik Rinnestam, fredrik at rinnestam dot se
+# Arch Maintainer: CRUX-ARM System Team. devel at crux-arm dot nu
+
+name=nspr
+version=4.13.1
+release=1
+source=(http://ftp.mozilla.org/pub/nspr/releases/v$version/src/$name-$version.tar.gz
+ $name.pc.in)
+
+build() {
+ local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
+
+ cd $name-$version/nspr
+
+ ./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
+}