summaryrefslogtreecommitdiff
path: root/repo/core/nspr.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-03 16:44:09 +0000
committerdavidovski <david@davidovski.xyz>2022-01-03 16:44:09 +0000
commit93d60f57780b9f1e9206f411e183bf28e6272334 (patch)
treed278fe89abb43e459cd80ebd4d67f2ba3d2e9901 /repo/core/nspr.xibuild
parent924ee9d18af78b561fc78b0239b9ae38d5f808b3 (diff)
added new files; git works
Diffstat (limited to 'repo/core/nspr.xibuild')
-rw-r--r--repo/core/nspr.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/core/nspr.xibuild b/repo/core/nspr.xibuild
new file mode 100644
index 0000000..733c333
--- /dev/null
+++ b/repo/core/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
+}