nspr: update to 4.9.1.

This commit is contained in:
Juan RP 2012-06-18 08:41:04 +02:00
parent 980e2fa0c4
commit 35571b08bb
2 changed files with 6 additions and 9 deletions

View file

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

View file

@ -1,7 +1,6 @@
# Template file for 'nspr'
pkgname=nspr
version=4.9
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
version=4.9.1
build_style=gnu-configure
configure_script="./mozilla/nsprpub/configure"
if [ "$XBPS_MACHINE" = "x86_64" ]; then
@ -9,19 +8,19 @@ if [ "$XBPS_MACHINE" = "x86_64" ]; then
fi
configure_args="--libdir=/usr/lib --includedir=/usr/include/nspr
--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"
checksum=ecc632bc578c125650999776673eeff952096afa6d151f6d91f6c3a93e1e716a
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
checksum=5b696b80a3254aa0e5c7f0614b6bb9b14c483df46af66c792993e3d853568d17
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
Netscape/AOL/iPlanet's and other software offerings."
subpackages="$pkgname-devel"
post_install() {
local nspr_config="${DESTDIR}/usr/bin/nspr-config"
local pcver="$(${nspr_config} --version)"