Difference between revisions of "Libcfg"

From CBLFS
Jump to navigationJump to search
Line 91: Line 91:
 
|-
 
|-
 
! Installed Programs:
 
! Installed Programs:
| ???
+
| None
 
|-
 
|-
 
! Installed Libraries:
 
! Installed Libraries:
| ???
+
| libcfg+.{a,la,so}
 
|-
 
|-
 
! Installed Directories:
 
! Installed Directories:
| ???
+
| /usr/include/platon, /usr/share/doc/libcfg+-{{Libcfg+-Version}}
|}
 
 
 
=== Short Descriptions ===
 
 
 
{| style="text-align: left;"
 
|-
 
! program1
 
| ???
 
|-
 
! program2
 
| ???
 
 
|}
 
|}

Revision as of 04:41, 5 April 2007

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

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: None
Installed Libraries: libcfg+.{a,la,so}
Installed Directories: /usr/include/platon, /usr/share/doc/libcfg+-0.6.2
Retrieved from "?title=Libcfg&oldid=8627"