diff --git a/srcpkgs/nspr/nspr-devel.template b/srcpkgs/nspr/nspr-devel.template index b81a25e03bb..995e65ad378 100644 --- a/srcpkgs/nspr/nspr-devel.template +++ b/srcpkgs/nspr/nspr-devel.template @@ -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 } diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index 1278e05715d..e29599a6ccc 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -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 " 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 @@ -38,5 +38,5 @@ post_install() { ) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc cd ${DESTDIR}/usr/lib/pkgconfig && \ - ln -s nspr.pc mozilla-nspr.pc + ln -s nspr.pc mozilla-nspr.pc }