Difference between revisions of "PLIB"

From CBLFS
Jump to navigationJump to search
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz
 
| http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz
|-valign="top"
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/plib/plib-{{PLIB-Version}}-gcc41_fixes-1.patch
 
 
|}
 
|}
  
 
----
 
----
  
== Introduction to PLIB ==
+
{{Package-Introduction|PLIB is a set of libraries that are designed to help developers write games and other interactive 3D applications.|http://plib.sourceforge.net/}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 23: Line 18:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
 
  CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
 
  make
 
  make
Line 37: Line 31:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
 
  CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
 
  USE_ARCH=32 ./configure --prefix=/usr &&
 
  USE_ARCH=32 ./configure --prefix=/usr &&
Line 50: Line 43:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
 
  CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
Line 64: Line 56:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-{{PLIB-Version}}-gcc41_fixes-1.patch &&
 
 
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
 
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \
Line 74: Line 65:
 
  make install
 
  make install
  
= Contents =
+
[[Category:Graphics Libraries]]
 
 
{| style="text-align: left;"
 
|-valign="top"
 
! Installed Programs:
 
| ???
 
|-valign="top"
 
! Installed Libraries:
 
| ???
 
|-valign="top"
 
! Installed Directories:
 
| ???
 
|}
 
 
 
=== Short Descriptions ===
 
 
 
{| style="text-align: left;"
 
|-valign="top"
 
! program1
 
| ???
 
|-valign="top"
 
! program2
 
| ???
 
|-valign="top"
 
! library1.{so,a}
 
| ???
 
|}
 

Latest revision as of 15:13, 19 March 2009

Download Source: http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz

Introduction to PLIB

PLIB is a set of libraries that are designed to help developers write games and other interactive 3D applications.

Project Homepage: http://plib.sourceforge.net/

Dependencies

Required

Non-Multilib

Compile the package:

CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install
Retrieved from "?title=PLIB&oldid=17458"