Difference between revisions of "Libchipcard"

From CBLFS
Jump to navigationJump to search
Line 25: Line 25:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --disable-dependency-tracking &&
+
  ./configure --prefix=/usr --sysconfdir=/etc \
 +
    --localstatedir=/var/lib &&
 
  make
 
  make
  
Install the package
+
Install the package:
  
 
  make install
 
  make install
Line 36: Line 37:
 
=== 32Bit ===
 
=== 32Bit ===
  
TO DO
+
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 ===
 
=== N32 ===
  
TO DO
+
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 ===
 
=== 64Bit ===
  
TO DO
+
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 =
 
= Contents =

Revision as of 10:03, 24 December 2006

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,