# nspr/cfg - "Build" settings for package #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.47 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.01 hours (or 000.47 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.52 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.60 minutes) - HP EliteBook 8560w 32GB RAM #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = nspr/LICENSE setpaths = nspr tmpsize = 10M #--------------------------------------------------------------------- [depends] actools gawk grep perl sed #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man cd nspr # These "sed" commands are based on two similar commands suggested by # BLFS, but minor changes have been made. sed -e 's@^\(RELEASE_BINS =\).*@\1@' -i pr/src/misc/Makefile.in sed -e 's@\$(LIBRARY)@@' -i config/rules.mk mkdir -p $MANBASE ENABLE64BIT= if [ $LACICPU == 'x86_64' ]; then ENABLE64BIT=--enable-64bit fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --enable-optimize="-O2" \ --enable-strip \ --mandir=$MANBASE \ --with-mozilla \ --with-pthreads \ $ENABLE64BIT #--------------------------------------------------------------------- [build] cd nspr make && make install cd $PKGDIR_PROD/include perl $PKGDIR_SPECIAL/fix-nspr-pkg-inc.pl --run H="#" cat > nspr.h << END ${H}include END #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = http://www.mozilla.org/projects/nspr/ url_lfs = http://www.linuxfromscratch.org/blfs/view/svn/\ general/nspr.html url_tarball = https://archive.mozilla.org/pub/nspr/releases/\ v4.35/src/nspr-4.35.tar.gz #--------------------------------------------------------------------- [history] 170517 Updated from 4.11 to 4.14 170706 Updated to 4.15 170813 Updated to 4.16 171118 Updated to 4.17 180304 Updated to 4.18 180619 Updated to 4.19 190120 Updated to 4.20 210203 Updated to 4.29 230406 Updated to 4.35