nspr: update to 4.8.7.

This commit is contained in:
Juan RP 2011-01-16 01:00:42 +01:00
parent a811a3c6e0
commit b44f33f8ad

View file

@ -1,6 +1,6 @@
# Template file for 'nspr' # Template file for 'nspr'
pkgname=nspr pkgname=nspr
version=4.8.6 version=4.8.7
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz" distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_script="./mozilla/nsprpub/configure" configure_script="./mozilla/nsprpub/configure"
@ -11,7 +11,7 @@ configure_args="--libdir=/usr/lib --includedir=/usr/include/nspr
--enable-optimize --disable-debug --with-pthreads ${_for64}" --enable-optimize --disable-debug --with-pthreads ${_for64}"
short_desc="NetScape Portable Runtime" short_desc="NetScape Portable Runtime"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d9040bb01536fa63881c423c4fa831ea459696b32d2097f614842f824e1a9f6d checksum=eb9459c31d43d1000fb1304f1e0cedab0bdac3c54c71988259c1ac10c1fe16a3
long_desc=" long_desc="
Netscape Portable Runtime (NSPR) provides a platform-neutral API for system Netscape Portable Runtime (NSPR) provides a platform-neutral API for system
level and libc like functions. The API is used in the Mozilla client, many of level and libc like functions. The API is used in the Mozilla client, many of
@ -36,7 +36,7 @@ post_install()
echo "Cflags: -I/usr/include/nspr"; \ echo "Cflags: -I/usr/include/nspr"; \
echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \ echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \
) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc ) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc
chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc || return 1 chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc
cd ${DESTDIR}/usr/lib/pkgconfig && \ cd ${DESTDIR}/usr/lib/pkgconfig && \
ln -s nspr.pc mozilla-nspr.pc || return 1 ln -s nspr.pc mozilla-nspr.pc
} }