Difference between revisions of "Libcfg"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
m
 
(6 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
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Libcfg ==
+
{{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).}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 30: Line 28:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib/libcfg+.so.0.6.2
+
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 43:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib/libcfg+.so.0.6.2
+
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}
 +
 
  
 
=== N32 ===
 
=== N32 ===
Line 56: Line 57:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib32/libcfg+.so.0.6.2
+
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib32/libcfg+.so.${LIBVER}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 72: Line 74:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib64/libcfg+.so.0.6.2
+
LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib64/libcfg+.so.${LIBVER}
  
 
= Contents =
 
= Contents =
Line 80: 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}}
 
|}
 
|}
  
=== Short Descriptions ===
+
[[Category:General Libs]]
 
 
{| style="text-align: left;"
 
|-
 
! program1
 
| ???
 
|-
 
! program2
 
| ???
 
|}
 

Latest revision as of 18:46, 25 January 2009

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).

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
Retrieved from "?title=Libcfg&oldid=16726"