Difference between revisions of "Libcfg"

From CBLFS
Jump to navigationJump to search
Line 31: Line 31:
  
 
  make -k install &&
 
  make -k install &&
  LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
+
  LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
  chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}
+
  chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}
  
 
== Multilib ==
 
== Multilib ==
Line 46: Line 46:
  
 
  make -k install &&
 
  make -k install &&
  LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
+
  LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
  chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}
+
  chmod -v 755 /usr/lib/libcfg+.so.${LIBVER}
  
  
Line 60: Line 60:
  
 
  make -k install &&
 
  make -k install &&
  LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
+
  LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
  chmod -v 755 /usr/lib32/libcfg+.so.${LIBNAME}
+
  chmod -v 755 /usr/lib32/libcfg+.so.${LIBVER}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 77: Line 77:
  
 
  make -k install &&
 
  make -k install &&
  LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
+
  LIBVER=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
  chmod -v 755 /usr/lib64/libcfg+.so.${LIBNAME}
+
  chmod -v 755 /usr/lib64/libcfg+.so.${LIBVER}
  
 
= Contents =
 
= Contents =

Revision as of 15:00, 16 December 2006

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

Introduction to Libcfg

<Package Description Needed>

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