Difference between revisions of "Libcfg"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
Line 30: Line 30:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib/libcfg+.so.0.6.2
+
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 45:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib/libcfg+.so.0.6.2
+
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}
 +
 
  
 
=== N32 ===
 
=== N32 ===
Line 56: Line 59:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib32/libcfg+.so.0.6.2
+
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib32/libcfg+.so.${LIBNAME}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 72: Line 76:
 
Install the package
 
Install the package
  
  make -k install;
+
  make -k install &&
  chmod -v 755 /usr/lib64/libcfg+.so.0.6.2
+
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
 +
  chmod -v 755 /usr/lib64/libcfg+.so.${LIBNAME}
  
 
= 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 &&
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make LD="gcc ${BUILD32}"

Install the package

make -k install &&
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib/libcfg+.so.${LIBNAME}


N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make LD="gcc ${BUILDN32}"

Install the package

make -k install &&
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib32/libcfg+.so.${LIBNAME}

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 &&
LIBNAME=$(cat src/Makefile | grep VERSION | cut -f3 -d' ' | head -n 1) &&
chmod -v 755 /usr/lib64/libcfg+.so.${LIBNAME}

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directories: ???

Short Descriptions

program1 ???
program2 ???
Retrieved from "?title=Libcfg&oldid=4783"