summaryrefslogtreecommitdiff
path: root/repo/system/nspr.xibuild
blob: 733c333f39a9b159333a46bc1362b7809cb1964f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 
}