2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00

nspr: new package at 4.21

This commit is contained in:
Muhammad Herdiansyah 2019-07-28 10:30:48 +00:00
parent 45754665db
commit 443d098a84
4 changed files with 26 additions and 0 deletions

23
testing/nspr/build Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh -e
export CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE"
cd nspr
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--includedir=/usr/include/nspr \
--enable-optimize \
--enable-ipv6 \
--enable-64bit
make
make DESTDIR="$1" install
install -Dm755 config/nspr-config "$1/usr/bin/nspr-config"
install -Dm644 config/nspr.pc "$1/usr/lib/pkgconfig/nspr.pc"
rm -rf "$1/usr/bin/prerr.properties" \
"$1/usr/bin/compile-et.pl" \
"$1/usr/share/aclocal/nspr.m4" \
"$1/usr/include/nspr/md"

1
testing/nspr/checksums Normal file
View File

@ -0,0 +1 @@
15ea32c7b100217b6e3193bc03e77f485d9bf7504051443ba9ce86d1c17c6b5a nspr-4.21.tar.gz

1
testing/nspr/sources Normal file
View File

@ -0,0 +1 @@
https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.21/src/nspr-4.21.tar.gz

1
testing/nspr/version Normal file
View File

@ -0,0 +1 @@
4.21 1