Difference between revisions of "NSPR"

From CBLFS
Jump to navigationJump to search
 
Line 8: Line 8:
  
 
== Dependencies ==
 
== Dependencies ==
 
=== Required ===
 
* [[Package one]]
 
* [[Package two]]
 
* [[Package three]]
 
=== Optional ===
 
* [[Package four]]
 
* [[Package five]]
 
* [[Package six]]
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 66: Line 57:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
--enable-64bit

Revision as of 11:34, 16 October 2006

Download Source: http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6.3/src/nspr-4.6.3.tar.gz

Dependencies

Non-Multilib

Create a build directory:

mkdir -v build &&
cd build

Compile the package:

../mozilla/nsprpub/configure --prefix=/usr \
    --infodir=/usr/share/info \
    --mandir=/usr/share/man &&
make

Install the package

make install
install -v -m755 config/nspr-config /usr/bin &&
install -v -d /usr/include/nspr &&
install -v -m755 dist/lib/*.so /usr/lib &&
install -v -m644 dist/lib/*.a /usr/lib &&
cp -RL dist/include/nspr/* /usr/include/nspr/ &&

Create the pkg-config file:

cat > /usr/lib/pkgconfig/nspr.pc << "EOF"
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include/nspr

Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.6.3
Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir}
Cflags: -I${includedir}/nspr
EOF

Multilib

32Bit

N32

64Bit

--enable-64bit

Retrieved from "?title=NSPR&oldid=3049"