Difference between revisions of "Libmng"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
(I added the "Contents" section from BLFS.) |
||
Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
− | |- | + | |-valign="top" |
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz | | http://prdownloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz | ||
Line 31: | Line 31: | ||
install -v -m755 -d /usr/share/doc/libmng-1.0.9 && | install -v -m755 -d /usr/share/doc/libmng-1.0.9 && | ||
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9 | install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9 | ||
+ | |||
+ | === 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 == | == Multilib == | ||
Line 72: | Line 78: | ||
install -v -m755 -d /usr/share/doc/libmng-1.0.9 && | install -v -m755 -d /usr/share/doc/libmng-1.0.9 && | ||
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9 | install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9 | ||
+ | |||
+ | = Contents = | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! Installed Programs: | ||
+ | | None | ||
+ | |-valign="top" | ||
+ | ! Installed Libraries: | ||
+ | | libmng.{so,a} | ||
+ | |-valign="top" | ||
+ | ! Installed Directories: | ||
+ | | /usr/share/doc/libmng-1.0.9 | ||
+ | |} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! 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. | ||
+ | |} |
Revision as of 20:48, 12 December 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
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.9 && install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
Contents
Installed Programs: | None |
---|---|
Installed Libraries: | libmng.{so,a} |
Installed Directories: | /usr/share/doc/libmng-1.0.9 |
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. |
---|