Difference between revisions of "Libcfg"

From CBLFS
Jump to navigationJump to search
(Introduction to Libcfg)
Line 9: Line 9:
 
== Introduction to Libcfg ==
 
== Introduction to Libcfg ==
  
<Package Description Needed>
+
libcfg+ is a C library that features multi- command line and
 +
configuration file parsing. It is possible to set up various special
 +
properties such as quoting characters, deliminator strings, file comment
 +
prefixes, multi-line postfixes, and more. It supports many data types
 +
such as booleans, integers, decimal numbers, strings with many
 +
additional data type flags (such as multiple values for a single
 +
option).
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 12:14, 20 January 2007

Download Source: http://platon.sk/projects/download.php?id=57

Introduction to Libcfg

libcfg+ is a C library that features multi- command line and configuration file parsing. It is possible to set up various special properties such as quoting characters, deliminator strings, file comment prefixes, multi-line postfixes, and more. It supports many data types such as booleans, integers, decimal numbers, strings with many additional data type flags (such as multiple values for a single option).

Dependencies

Optional

Non-Multilib

Compile the package:

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

If you would like to generate the documentation type:

make documentation

Install the package

make -k install &&
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make LD="gcc ${BUILD32}"

Install the package

make -k install &&
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}


N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make LD="gcc ${BUILDN32}"

Install the package

make -k install &&
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib32/libcfg+.so.${LIBVER}

64Bit

Compile the package:

CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make LD="gcc ${BUILD64}"

If you would like to generate the documentation type:

make documentation

Install the package

make -k install &&
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib64/libcfg+.so.${LIBVER}

Contents

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

Short Descriptions

program1 ???
program2 ???