Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : libnspr | name : libnspr | ||||
| version : '4.17' | version : 4.18 | ||||
| release : 10 | release : 11 | ||||
| source : | source : | ||||
| - https://ftp.mozilla.org/pub/nspr/releases/v4.17/src/nspr-4.17.tar.gz : 590a0aea29412ae22d7728038c21ef2ab42646e48172a47d2e4bb782846d1095 | - https://ftp.mozilla.org/pub/nspr/releases/v4.18/src/nspr-4.18.tar.gz : b89657c09bf88707d06ac238b8930d3ae08de68cb3edccfdc2e3dc97f9c8fb34 | ||||
| homepage : http://www.mozilla.org | homepage : https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR | ||||
| license : | license : | ||||
| - MPL-1.1 | - MPL-1.1 | ||||
| - GPL-2.0 | - GPL-2.0 | ||||
| - LGPL-2.1 | - LGPL-2.1 | ||||
| component : system.base | component : system.base | ||||
| emul32 : yes | emul32 : yes | ||||
| libsplit : no | libsplit : no | ||||
| summary : Netscape Portable Runtime | summary : Netscape Portable Runtime | ||||
| description: | | description: | | ||||
| Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions. | Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions. | ||||
| setup : | | setup : | | ||||
| pushd nspr | pushd nspr | ||||
| sed -i 's#$(LIBRARY) ##' config/rules.mk | sed -i 's#$(LIBRARY) ##' config/rules.mk | ||||
| if [[ ! -z "${EMUL32BUILD}" ]]; then | if [[ ! -z "${EMUL32BUILD}" ]]; then | ||||
| %configure --prefix=/usr --with-mozilla --with-pthreads | %configure --with-mozilla --with-pthreads | ||||
| else | else | ||||
| %configure --prefix=/usr --enable-64bit --with-mozilla --with-pthreads | %configure --enable-64bit --with-mozilla --with-pthreads | ||||
| fi | fi | ||||
| build : | | build : | | ||||
| pushd nspr | %make -C nspr | ||||
| %make | |||||
| install : | | install : | | ||||
| pushd nspr | %make_install -C nspr | ||||
| %make_install | |||||
| rm -v $installdir/usr/bin/prerr.properties | rm -v $installdir/usr/bin/prerr.properties | ||||
| rm -v $installdir/usr/bin/compile-et.pl | rm -v $installdir/usr/bin/compile-et.pl | ||||
| check : | | |||||
| perl ./nspr/pr/tests/runtests.pl 2>&1 | tee output.log | |||||
| TEST_FAILURES=`grep -c FAILED ./output.log` || : | |||||
| if [ $TEST_FAILURES -ne 0 ]; then | |||||
| echo "error: test suite returned failure(s)" | |||||
| exit 1 | |||||
| fi | |||||
| echo "test suite completed" | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.