Difference between revisions of "NSPR"
From CBLFS
Jump to navigationJump to searchLine 31: | Line 31: | ||
Install the package | Install the package | ||
− | make install | + | make install |
− | |||
− | |||
− | |||
− | |||
− | |||
Create the pkg-config file: | Create the pkg-config file: | ||
Line 72: | Line 67: | ||
Install the package | Install the package | ||
− | make install | + | make install |
− | |||
− | |||
− | |||
− | |||
− | |||
Create the pkg-config file: | Create the pkg-config file: | ||
Line 111: | Line 101: | ||
Install the package | Install the package | ||
− | make install | + | make install |
− | |||
− | |||
− | |||
− | |||
− | |||
Create the pkg-config file: | Create the pkg-config file: | ||
Line 150: | Line 135: | ||
Install the package | Install the package | ||
− | make install | + | make install |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Create the pkg-config file: | Create the pkg-config file: |
Revision as of 18:15, 22 July 2008
Download Source: | http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.9.4/src/nspr-4.9.4.tar.gz |
---|
Contents
Introduction to NSPR
Project Homepage: Unknown
Dependencies
Non-Multilib
Create a build directory:
mkdir -v build && cd build
If building on pure64 (x86_64 at least perhaps others) add this to the configure line below:
--enable-64bit
Compile the package:
../mozilla/nsprpub/configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man && make
Install the package
make install
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.9.4 Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} Cflags: -I${includedir} EOF
Multilib
32Bit
Create a build directory:
mkdir -v build && cd build
Compile the package:
CC="gcc ${BUILD32}" \ ../mozilla/nsprpub/configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man && make
Install the package
make install
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.9.4 Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} Cflags: -I${includedir} EOF
N32
Create a build directory:
mkdir -v build && cd build
Compile the package:
CC="gcc ${BUILDN32}" \ ../mozilla/nsprpub/configure --prefix=/usr \ --infodir=/usr/share/info --libdir=/usr/lib32 \ --mandir=/usr/share/man --enable-n32 && make
Install the package
make install
Create the pkg-config file:
cat > /usr/lib32/pkgconfig/nspr.pc << "EOF" prefix=/usr exec_prefix=/usr libdir=/usr/lib32 includedir=/usr/include/nspr Name: NSPR Description: The Netscape Portable Runtime Version: 4.9.4 Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} Cflags: -I${includedir} EOF
64Bit
Create a build directory:
mkdir -v build && cd build
Compile the package:
CC="gcc ${BUILD64}" \ ../mozilla/nsprpub/configure --prefix=/usr \ --infodir=/usr/share/info --libdir=/usr/lib64 \ --mandir=/usr/share/man --enable-64bit && make
Install the package
make install
Create the pkg-config file:
cat > /usr/lib64/pkgconfig/nspr.pc << "EOF" prefix=/usr exec_prefix=/usr libdir=/usr/lib64 includedir=/usr/include/nspr Name: NSPR Description: The Netscape Portable Runtime Version: 4.9.4 Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} Cflags: -I${includedir} EOF
Contents
Installed Programs: | ??? |
---|---|
Installed Libraries: | ??? |
Installed Directory: | ??? |