Libptp2: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
----
----


== Introduction to libptp ==
== Introduction to libptp2 ==


Libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players.
Libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players.
Line 23: Line 23:
Compile the package:
Compile the package:


  patch -Np1 -i ../libptp-{{Libptp2-Version}}-gcc4-1.patch
  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 38: Line 38:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make


Install the package:
Install the package:


  To do ...
  make install


=== N32 ===
=== N32 ===
Line 48: Line 52:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 --localstatedir=/var/lib &&
make


Install the package:
Install the package:


  To do ...
  make install


=== 64Bit ===
=== 64Bit ===
Line 58: Line 66:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../libptp2-{{Libptp2-Version}}-gcc4-1.patch &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var/lib &&
make


Install the package:
Install the package:


  To do ...
  make install


= Contents =
= Contents =

Revision as of 12:56, 5 January 2007

Download Source: http://downloads.sourceforge.net/libptp/libptp2-1.1.10.tar.gz
Download patch : http://svn.cross-lfs.org/svn/repos/patches/libptp2/libptp2-1.1.10-gcc4-1.patch

Introduction to libptp2

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

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../libptp2-1.1.10-gcc4-1.patch &&
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../libptp2-1.1.10-gcc4-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make

Install the package:

make install

N32

Compile the package:

patch -Np1 -i ../libptp2-1.1.10-gcc4-1.patch &&
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:

patch -Np1 -i ../libptp2-1.1.10-gcc4-1.patch &&
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
Retrieved from "?title=Libptp2&oldid=6669"