mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
nspr: update to 4.16
This commit is contained in:
parent
d5f62817ec
commit
dabf573c28
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nspr'
|
# Template file for 'nspr'
|
||||||
pkgname=nspr
|
pkgname=nspr
|
||||||
version=4.15
|
version=4.16
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_wrksrc="nspr"
|
build_wrksrc="nspr"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.mozilla.org/projects/nspr/"
|
homepage="http://www.mozilla.org/projects/nspr/"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
|
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
|
||||||
checksum=27dde06bc3d0c88903a20d6ad807361a912cfb624ca0ab4efb10fc50b19e2d80
|
checksum=9b3102d97665504aeee73363c11a21c062ad67a2522242368b7f019f96a53cd1
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
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"
|
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"
|
||||||
|
@ -34,6 +34,7 @@ do_build() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/bin/nspr-config
|
||||||
ln -s nspr.pc ${DESTDIR}/usr/lib/pkgconfig/mozilla-nspr.pc
|
ln -s nspr.pc ${DESTDIR}/usr/lib/pkgconfig/mozilla-nspr.pc
|
||||||
rm -r ${DESTDIR}/usr/bin/{compile-et.pl,prerr.properties} \
|
rm -r ${DESTDIR}/usr/bin/{compile-et.pl,prerr.properties} \
|
||||||
${DESTDIR}/usr/include/nspr/md
|
${DESTDIR}/usr/include/nspr/md
|
||||||
|
|
Loading…
Add table
Reference in a new issue