Difference between revisions of "Libmng"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 6: | Line 6: | ||
---- | ---- | ||
+ | |||
+ | == 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 == | == Dependencies == |
Revision as of 01:01, 30 November 2006
Download Source: | http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz |
---|
Contents
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.9 && install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
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.9 && install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9