Difference between revisions of "Libmng"

From CBLFS
Jump to navigationJump to search
(32Bit)
(Multilib)
Line 35: Line 35:
  
 
  cp makefiles/makefile.linux Makefile
 
  cp makefiles/makefile.linux Makefile
  make CC="gcc -m32"
+
  make CC="gcc ${BUILD32}"
  
 
Install the package
 
Install the package
Line 43: Line 43:
 
=== N32 ===
 
=== N32 ===
  
TO BE DONE
+
Compile the package
 +
 
 +
cp makefiles/makefile.linux Makefile
 +
make CC="gcc ${BUILDN32}"
 +
 
 +
Install the package
 +
 +
make prefix=/usr LIBPATH=/usr/lib32 install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 50: Line 57:
  
 
  cp makefiles/makefile.linux Makefile
 
  cp makefiles/makefile.linux Makefile
  make CC="gcc -m64 -fPIC"
+
  make CC="gcc ${BUILD64}"
  
 
Install the package
 
Install the package

Revision as of 15:25, 16 September 2006

Download Source: http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz

Dependencies

Required

Non-Multilib

Compile the package:

cp makefiles/makefile.linux Makefile &&
make

Install the package

make prefix=/usr install &&
install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9

Multilib

32Bit

Compile the package:

cp makefiles/makefile.linux Makefile
make CC="gcc ${BUILD32}"

Install the package

make prefix=/usr install

N32

Compile the package

cp makefiles/makefile.linux Makefile
make CC="gcc ${BUILDN32}"

Install the package

make prefix=/usr LIBPATH=/usr/lib32 install

64Bit

Compile the package

cp makefiles/makefile.linux Makefile
make CC="gcc ${BUILD64}"

Install the package

make prefix=/usr LIBPATH=/usr/lib64 install
install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
Retrieved from "?title=Libmng&oldid=1844"