[Lunar-commits] <moonbase> nspr: install it in /usr/lib and chromium start ok.
Florin Braescu
florin at lunar-linux.org
Wed Jan 6 17:00:23 CET 2010
commit e424beb56e78a8de039b099283e189bf3406b6e9
Author: Florin Braescu <florin at lunar-linux.org>
Date: Wed Jan 6 18:00:23 2010 +0200
nspr: install it in /usr/lib and chromium start ok.
---
libs/nspr/BUILD | 31 +++++++++++++++----------------
libs/nspr/DETAILS | 4 ++--
2 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/libs/nspr/BUILD b/libs/nspr/BUILD
index 6a7f602..711256e 100644
--- a/libs/nspr/BUILD
+++ b/libs/nspr/BUILD
@@ -1,27 +1,26 @@
(
- patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
if [ "`arch`" == "x86_64" ]; then
OPTS="$OPTS --enable-64bit"
- fi &&
+ fi &&
- OPTS="$OPTS --libdir=/usr/lib/nspr --enable-system-sqlite --with-mozilla --with-pthreads"
- mkdir build inst &&
- sedit 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' mozilla/nsprpub/config/rules.mk &&
+ OPTS="$OPTS --libdir=/usr/lib --enable-system-sqlite --with-mozilla --with-pthreads --enable-strip" &&
+ mkdir build inst &&
+ sedit 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' mozilla/nsprpub/config/rules.mk &&
- cd build &&
- ../mozilla/nsprpub/configure --build=$BUILD \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- $OPTS &&
- default_make &&
+ cd build &&
+ ../mozilla/nsprpub/configure --build=$BUILD \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ $OPTS &&
+ default_make &&
- install -m 755 $SOURCE_DIRECTORY/build/config/nspr-config /usr/bin/ &&
- cp -a $SOURCE_DIRECTORY/build/config/nspr.pc /usr/lib/pkgconfig/ &&
+ install -m 755 $SOURCE_DIRECTORY/build/config/nspr-config /usr/bin/
rm /usr/bin/prerr.properties
) > $C_FIFO 2>&1
diff --git a/libs/nspr/DETAILS b/libs/nspr/DETAILS
index 48de8a8..274d0d5 100644
--- a/libs/nspr/DETAILS
+++ b/libs/nspr/DETAILS
@@ -2,13 +2,13 @@
VERSION=4.8.2
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE2=$MODULE-4.8-pkgconfig-gentoo.patch
- SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/v${VERSION}/src/
+ SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/v${VERSION}/src
SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:14af8f12a0975630a13f5aa3c890e92960a0be93
SOURCE2_VFY=sha1:c41c608247aa712f783a1ec8ea2943b79dee44eb
WEB_SITE=http://www.mozilla.org/projects/nspr
ENTERED=20100104
- UPDATED=20100104
+ UPDATED=20100106
PSAFE="no"
SHORT="Netscape Portable Runtime (NSPR)"
cat << EOF
More information about the Lunar-commits
mailing list