PLIB: Difference between revisions
From CBLFS
Jump to navigationJump to search
I added the template for the package description and "Contents" sections. |
No edit summary |
||
| Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| http://plib.sourceforge.net/dist/plib- | | http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz | ||
|-valign="top" | |-valign="top" | ||
!Download Patch: | !Download Patch: | ||
| http://svn.cross-lfs.org/svn/repos/patches/plib/plib- | | http://svn.cross-lfs.org/svn/repos/patches/plib/plib-{{PLIB-Version}}-gcc41_fixes-1.patch | ||
|} | |} | ||
| Line 23: | Line 23: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../plib- | 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 37: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../plib- | 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 50: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../plib- | 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 64: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../plib- | 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 \ | ||
Revision as of 12:16, 17 December 2006
| Download Source: | http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz |
|---|---|
| Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/plib/plib-1.8.5-gcc41_fixes-1.patch |
Introduction to PLIB
<Package Description Needed>
Dependencies
Required
- X Window System (With OpenGL)
Non-Multilib
Compile the package:
patch -Np1 -i ../plib-1.8.5-gcc41_fixes-1.patch && CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../plib-1.8.5-gcc41_fixes-1.patch &&
CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
USE_ARCH=32 ./configure --prefix=/usr &&
make
Install the package
make install
N32
Compile the package:
patch -Np1 -i ../plib-1.8.5-gcc41_fixes-1.patch &&
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:
patch -Np1 -i ../plib-1.8.5-gcc41_fixes-1.patch &&
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
USE_ARCH=64 ./configure --prefix=/usr \
--libdir=/usr/lib64 &&
make
Install the package
make install
Contents
| Installed Programs: | ??? |
|---|---|
| Installed Libraries: | ??? |
| Installed Directories: | ??? |
Short Descriptions
| program1 | ??? |
|---|---|
| program2 | ??? |
| library1.{so,a} | ??? |