Difference between revisions of "Libcfg"
From CBLFS
Jump to navigationJump to search (→Introduction to Libcfg) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://platon.sk/projects/download.php?id=57 | + | | http://platon.sk/projects/download.php?id=57&force=1 |
|} | |} | ||
Revision as of 12:20, 27 January 2007
Download Source: | http://platon.sk/projects/download.php?id=57&force=1 |
---|
Contents
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 | ??? |