Difference between revisions of "Libptp2"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://downloads.sourceforge.net/libptp/libptp2-{{Libptp2-Version}}.tar.gz
 
| http://downloads.sourceforge.net/libptp/libptp2-{{Libptp2-Version}}.tar.gz
|-
 
!Download patch :
 
| http://svn.cross-lfs.org/svn/repos/patches/libptp2/libptp2-{{Libptp2-Version}}-gcc4-1.patch
 
 
|}
 
|}
  
Line 21: Line 18:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
 
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
     --localstatedir=/var/lib &&
 
     --localstatedir=/var/lib &&
Line 36: Line 32:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
 
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
Line 50: Line 45:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
 
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
Line 64: Line 58:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
 
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \

Revision as of 13:07, 1 September 2007

Download Source: http://downloads.sourceforge.net/libptp/libptp2-1.1.10.tar.gz

Introduction to Libptp2

Libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players.

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 --localstatedir=/var/lib &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var/lib &&
make

Install the package:

make install

Contents

Installed Programs: ptpcam
Installed Libraries: libptp2.{a,la,so}
Installed Directories: /usr/include/libptp2