nspr: update to 4.10.1.

This commit is contained in:
Juan RP 2013-10-05 07:53:26 +02:00
parent 2e1278ccab
commit 359ea61046

View file

@ -1,6 +1,6 @@
# Template file for 'nspr' # Template file for 'nspr'
pkgname=nspr pkgname=nspr
version=4.10 version=4.10.1
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
build_wrksrc="nspr" build_wrksrc="nspr"
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mozilla.org/projects/nspr/" homepage="http://www.mozilla.org/projects/nspr/"
license="GPL-2, MPL-1.1" license="GPL-2, MPL-1.1"
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=0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e7354138cc16 checksum=0c2f8dc265f1e9b2600fd519430a1f960799888857bbb1538343a1b16ba41b20
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
@ -25,8 +25,6 @@ post_install() {
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
# Remove static libs.
rm -f ${DESTDIR}/usr/lib/*.a
} }
nspr-devel_package() { nspr-devel_package() {
@ -37,11 +35,12 @@ nspr-devel_package() {
vmove usr/bin vmove usr/bin
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/share/aclocal vmove usr/share/aclocal
vmove "usr/lib/*.a"
} }
} }
nspr_package() { nspr_package() {
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }