CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nspr: initial import
authorVictor Martinez <pitillo@ono.com>
Sat, 4 Feb 2017 11:49:25 +0000 (12:49 +0100)
committerVictor Martinez <pitillo@ono.com>
Sat, 4 Feb 2017 11:49:25 +0000 (12:49 +0100)
nspr/.footprint [new file with mode: 0644]
nspr/.md5sum [new file with mode: 0644]
nspr/Pkgfile [new file with mode: 0644]
nspr/nspr.pc.in [new file with mode: 0644]

diff --git a/nspr/.footprint b/nspr/.footprint
new file mode 100644 (file)
index 0000000..df7f6c6
--- /dev/null
@@ -0,0 +1,74 @@
+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
diff --git a/nspr/.md5sum b/nspr/.md5sum
new file mode 100644 (file)
index 0000000..264bf64
--- /dev/null
@@ -0,0 +1,2 @@
+9c44298a6fc478b3c0a4e98f4f9981ed  nspr-4.13.1.tar.gz
+2083f33e11dfe15feb7bf9bca0f6c44b  nspr.pc.in
diff --git a/nspr/Pkgfile b/nspr/Pkgfile
new file mode 100644 (file)
index 0000000..3289760
--- /dev/null
@@ -0,0 +1,45 @@
+# 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
+}
diff --git a/nspr/nspr.pc.in b/nspr/nspr.pc.in
new file mode 100644 (file)
index 0000000..9951a5b
--- /dev/null
@@ -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@