Difference between revisions of "Libcfg"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
|||
(5 intermediate revisions by 4 users not shown) | |||
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 |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|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 == | ||
Line 31: | Line 29: | ||
make -k install && | make -k install && | ||
− | + | LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) && | |
− | chmod -v 755 /usr/lib/libcfg+.so.${ | + | chmod -v 755 /usr/lib/libcfg+.so.${LIBVER} |
== Multilib == | == Multilib == | ||
Line 46: | Line 44: | ||
make -k install && | make -k install && | ||
− | + | LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) && | |
− | chmod -v 755 /usr/lib/libcfg+.so.${ | + | chmod -v 755 /usr/lib/libcfg+.so.${LIBVER} |
Line 60: | Line 58: | ||
make -k install && | make -k install && | ||
− | + | LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) && | |
− | chmod -v 755 /usr/lib32/libcfg+.so.${ | + | chmod -v 755 /usr/lib32/libcfg+.so.${LIBVER} |
=== 64Bit === | === 64Bit === | ||
Line 77: | Line 75: | ||
make -k install && | make -k install && | ||
− | + | LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) && | |
− | chmod -v 755 /usr/lib64/libcfg+.so.${ | + | chmod -v 755 /usr/lib64/libcfg+.so.${LIBVER} |
= Contents = | = Contents = | ||
Line 85: | Line 83: | ||
|- | |- | ||
! 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}} |
|} | |} | ||
− | + | [[Category:General Libs]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 18:46, 25 January 2009
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).
Project Homepage: Unknown
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 |