nspr: update to 4.9.2.

This commit is contained in:
Juan RP 2012-09-18 09:38:58 +02:00
parent 844752060a
commit 81c3ed7547
2 changed files with 10 additions and 11 deletions

View File

@ -1,15 +1,14 @@
# Template file for 'nspr-devel'.
#
depends="glibc-devel nspr>=$version"
depends="nspr>=$version"
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
vmove usr/include usr
vmove usr/bin usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -1,21 +1,21 @@
# Template file for 'nspr'
pkgname=nspr
version=4.9.1
version=4.9.2
revision=1
build_style=gnu-configure
configure_script="./mozilla/nsprpub/configure"
if [ "$XBPS_MACHINE" = "x86_64" ]; then
_for64="--enable-64bit"
fi
configure_args="--libdir=/usr/lib --includedir=/usr/include/nspr
--enable-optimize --disable-debug --with-pthreads ${_for64}"
--enable-optimize --disable-debug --with-pthreads ${_for64}"
subpackages="$pkgname-devel"
revision=1
short_desc="NetScape Portable Runtime"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mozilla.org/projects/nspr/"
license="GPL-2, MPL-1.1"
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
checksum=5b696b80a3254aa0e5c7f0614b6bb9b14c483df46af66c792993e3d853568d17
checksum=570206f125fc31b8589b31d3837c190ee2a75d4f3b8faec2cbedbeacc016e82c
long_desc="
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