Difference between revisions of "Libchipcard"

From CBLFS
Jump to navigationJump to search
m (Reverted edits by Chipster19 (Talk); changed back to last version by Jciccone)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.sourceforge.net/libchipcard/libchipcard3-{{libchipcard-Version}}.tar.gz
+
| http://downloads.sourceforge.net/libchipcard/libchipcard2-{{libchipcard-Version}}.tar.gz
 
|}
 
|}
  
Line 39: Line 39:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 +
./configure --prefix=/usr --sysconfdir=/etc \
 +
    --localstatedir=/var/lib &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/chipcard2-client-config{,-32} &&
 +
mv -v /usr/bin/chipcard2-server-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 49: Line 54:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 +
./configure --prefix=/usr --libdir=/usr/lib32 \
 +
    --sysconfdir=/etc --localstatedir=/var/lib &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/chipcard2-client-config{,-n32} &&
 +
mv -v /usr/bin/chipcard2-server-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 59: Line 69:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 +
./configure --prefix=/usr --libdir=/usr/lib64 \
 +
    --sysconfdir=/etc --localstatedir=/var/lib &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/chipcard2-client-config{,-64} &&
 +
mv -v /usr/bin/chipcard2-server-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/chipcard2-client-config &&
 +
ln -sfv multiarch_wrapper /usr/bin/chipcard2-server-config
  
 
= Contents =
 
= Contents =
Line 70: Line 87:
 
|-
 
|-
 
! Installed Programs:
 
! Installed Programs:
| geldkarte3, chipcard3-tool, memcard3, kvkcard3, cardcommander3, chipcardd3, chipcard3-config
+
| chipcard-tool, chipcard2-server-config, chipcard2-client-config
 
|-
 
|-
 
! Installed Libraries:
 
! Installed Libraries:
| libchipcard3c.{la,so}, libchipcard3d.{la,so}, libchipcard3_ctapi.{la,so}
+
| libchipcard2-ctapi.{la,so}, libchipcard2c.{la,so}, libchipcard2d.{la,so}, libchipcard2i.{la,so}, libchipcard2sv.{la,so}
 
|-
 
|-
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/chipcard3, /etc/chipcard3, /usr/include/chipcard3, /usr/lib/chipcard3, /var/lib/log/chipcard3
+
| /usr/lib/chipcard2-server, /usr/include/chipcard2, /usr/include/chipcard2-client, /usr/include/chipcard2-server, /usr/include/chipcard2-service,
 
|}
 
|}

Revision as of 15:05, 24 March 2007

Download Source: http://downloads.sourceforge.net/libchipcard/libchipcard2-4.1.2.tar.gz

Introduction to libchipcard

Libchipcard is a library for easy access to chip cards via chip card readers (terminals).

Dependencies

Recommended

Optional

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}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var/lib &&
make

Install the package:

make install &&
mv -v /usr/bin/chipcard2-client-config{,-32} &&
mv -v /usr/bin/chipcard2-server-config{,-32}

N32

Compile the package:

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

Install the package:

make install &&
mv -v /usr/bin/chipcard2-client-config{,-n32} &&
mv -v /usr/bin/chipcard2-server-config{,-n32}

64Bit

Compile the package:

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

Install the package:

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

Contents

Installed Programs: chipcard-tool, chipcard2-server-config, chipcard2-client-config
Installed Libraries: libchipcard2-ctapi.{la,so}, libchipcard2c.{la,so}, libchipcard2d.{la,so}, libchipcard2i.{la,so}, libchipcard2sv.{la,so}
Installed Directories: /usr/lib/chipcard2-server, /usr/include/chipcard2, /usr/include/chipcard2-client, /usr/include/chipcard2-server, /usr/include/chipcard2-service,