summaryrefslogtreecommitdiff
path: root/repo/system/nspr/nspr.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/nspr/nspr.xibuild')
-rw-r--r--repo/system/nspr/nspr.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/nspr/nspr.xibuild b/repo/system/nspr/nspr.xibuild
new file mode 100644
index 0000000..30a47da
--- /dev/null
+++ b/repo/system/nspr/nspr.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl bash"
+
+PKG_VER=4.33
+
+SOURCE=https://archive.mozilla.org/pub/nspr/releases/v$PKG_VER/src/nspr-$PKG_VER.tar.gz
+DESC="Netscape Portable Runtime"
+
+build () {
+ cd nspr
+ ./configure \
+ --prefix=/usr --with-mozilla --with-pthreads --enable-64bit
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}