Libmng

From CBLFS
Revision as of 12:11, 17 December 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
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"