summaryrefslogtreecommitdiff
path: root/repo/system/nspr.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/nspr.xibuild')
-rw-r--r--repo/system/nspr.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/system/nspr.xibuild b/repo/system/nspr.xibuild
new file mode 100644
index 0000000..733c333
--- /dev/null
+++ b/repo/system/nspr.xibuild
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+DEPS=(glibc bash)
+
+SOURCE=https://archive.mozilla.org/pub/nspr/releases/v4.33/src/nspr-4.33.tar.gz
+DESC="Netscape Portable Runtime"
+
+build () {
+ sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in
+ sed -i 's#$(LIBRARY) ##' config/rules.mk
+
+
+ cd nspr
+ ./configure \
+ --prefix=/usr --with-mozilla --with-pthreads --enable-64bit
+ make
+ make DESTDIR=$PKG_DEST install
+}