Difference between revisions of "Libmng"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz  
+
| http://prdownloads.sourceforge.net/libmng/libmng-{{Libmng-Version}}.tar.gz  
 
|}
 
|}
  
Line 29: Line 29:
 
  install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
 
  install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
 
  install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
 
  install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
  install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
+
  install -v -m755 -d /usr/share/doc/libmng-{{Libmng-Version}} &&
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
+
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-{{Libmng-Version}}
  
 
=== Command Explanations ===
 
=== Command Explanations ===
Line 76: Line 76:
 
  install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
 
  install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
 
  install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
 
  install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
  install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
+
  install -v -m755 -d /usr/share/doc/libmng-{{Libmng-Version}} &&
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
+
  install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-{{Libmng-Version}}
  
 
= Contents =
 
= Contents =
Line 90: Line 90:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/doc/libmng-1.0.9
+
| /usr/share/doc/libmng-{{Libmng-Version}}
 
|}
 
|}
  

Revision as of 12:11, 17 December 2006

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

Introduction to libmng

The libmng libraries are used by programs wanting to read and write Multiple-image Network Graphics (MNG) files which are the animation equivalents to PNG files.

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.10 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.10

Command Explanations

cp makefiles/makefile.linux Makefile: There are no autotools shipped with this package. The Linux Makefile is copied to the root of the source tree, facilitating the installation.

install ...: The documentation files are not installed by the installation procedure, so they are copied manually.

Multilib

32Bit

Compile the package:

sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
make CC="gcc ${BUILD32}"

Install the package

make prefix=/usr install

N32

Compile the package

sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
make CC="gcc ${BUILDN32}" prefix=/usr LIBPATH=/usr/lib32 ZLIBLIB=/usr/lib32 \
    JPEGLIB=/usr/lib32 LCMSLIB=/usr/lib32

Install the package

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

64Bit

Compile the package

sed "/OBJSDLL/s/\.0/.o/" makefiles/makefile.linux > Makefile
make CC="gcc ${BUILD64}" prefix=/usr LIBPATH=/usr/lib64 \
    ZLIBLIB=/usr/lib64 JPEGLIB=/usr/lib64 LCMSLIB=/usr/lib64

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.10 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.10

Contents

Installed Programs: None
Installed Libraries: libmng.{so,a}
Installed Directories: /usr/share/doc/libmng-1.0.10

Short Descriptions

libmng.{so,a} provides functions for programs wishing to read and write MNG files which are animation files without the patent problems associated with certain other formats.
Retrieved from "?title=Libmng&oldid=5173"