Difference between revisions of "FLTK"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-1.1.x-r5479.tar.bz2
 
| ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-1.1.x-r5479.tar.bz2
|-
+
|-valign="top"
 
!Required Patch (For 64Bit):
 
!Required Patch (For 64Bit):
 
| http://svn.cross-lfs.org/svn/repos/patches/fltk/fltk-1.1.x-r5479-64bit_fixes-1.patch
 
| http://svn.cross-lfs.org/svn/repos/patches/fltk/fltk-1.1.x-r5479-64bit_fixes-1.patch
Line 9: Line 9:
  
 
----
 
----
 +
 +
== Introduction to FLTK ==
 +
 +
<Package Description Needed>
  
 
== Dependencies ==
 
== Dependencies ==
Line 75: Line 79:
 
  mv -v /usr/bin/fltk-config{,-64} &&
 
  mv -v /usr/bin/fltk-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/fltk-config
 
  ln -sfv multiarch_wrapper /usr/bin/fltk-config
 +
 +
= Contents =
 +
 +
{| 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}
 +
| ???
 +
|}

Revision as of 04:43, 10 December 2006

Download Source: ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-1.1.x-r5479.tar.bz2
Required Patch (For 64Bit): http://svn.cross-lfs.org/svn/repos/patches/fltk/fltk-1.1.x-r5479-64bit_fixes-1.patch

Introduction to FLTK

<Package Description Needed>

Dependencies

Required

Optional

Non-Multilib

If you're building a 64bit system apply the following patch:

patch -Np1 -i ../fltk-1.1.x-r5479-64bit_fixes-1.patch

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../fltk-1.1.x-r5479-64bit_fixes-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/fltk-config

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directories: ???

Short Descriptions

program1 ???
program2 ???
library1.{so,a} ???
Retrieved from "?title=FLTK&oldid=4540"