Difference between revisions of "JBIG-Kit"

From CBLFS
Jump to navigationJump to search
(Dependencies)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-1.6.tar.gz
+
| http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-{{JBIG-Kit-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents.|http://www.cl.cam.ac.uk/~mgk25/jbigkit/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 15:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  make CC="gcc -fPIC"
make
 
  
 
Install the package:
 
Install the package:
  
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin
+
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
 +
install -m644 libjbig/jbig.h /usr/include &&
 +
install -m644 libjbig/libjbig.a /usr/lib
  
 
== Multilib ==
 
== Multilib ==
'''''This package does not install any libraries so only one installation is needed.'''''
 
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 27: Line 29:
 
Compile the package:
 
Compile the package:
  
  make CC="gcc ${BUILD32}"
+
  make CC="gcc ${BUILD32} -fPIC"
  
 
Install the package:
 
Install the package:
  
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin
+
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
 +
install -m644 libjbig/jbig.h /usr/include &&
 +
install -m644 libjbig/libjbig.a /usr/lib
  
 
=== N32 ===
 
=== N32 ===
Line 37: Line 41:
 
Compile the package:
 
Compile the package:
  
  make CC="gcc ${BUILDN32}"
+
  make CC="gcc ${BUILDN32} -fPIC"
  
 
Install the package:
 
Install the package:
  
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin
+
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
 +
install -m644 libjbig/jbig.h /usr/include &&
 +
install -m644 libjbig/libjbig.a /usr/lib32
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 47: Line 53:
 
Compile the package:
 
Compile the package:
  
  make CC="gcc ${BUILD64}"
+
  make CC="gcc ${BUILD64} -fPIC"
  
 
Install the package:
 
Install the package:
  
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin
+
  install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
 +
install -m644 libjbig/jbig.h /usr/include &&
 +
install -m644 libjbig/libjbig.a /usr/lib64
 +
 
 +
[[Category:Graphics Libraries]]

Latest revision as of 16:50, 20 September 2009

Download Source: http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-1.6.tar.gz

Introduction to JBIG-Kit

JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents.

Project Homepage: http://www.cl.cam.ac.uk/~mgk25/jbigkit/

Dependencies

Non-Multilib

Compile the package:

make CC="gcc -fPIC"

Install the package:

install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
install -m644 libjbig/jbig.h /usr/include &&
install -m644 libjbig/libjbig.a /usr/lib

Multilib

32Bit

Compile the package:

make CC="gcc ${BUILD32} -fPIC"

Install the package:

install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
install -m644 libjbig/jbig.h /usr/include &&
install -m644 libjbig/libjbig.a /usr/lib

N32

Compile the package:

make CC="gcc ${BUILDN32} -fPIC"

Install the package:

install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
install -m644 libjbig/jbig.h /usr/include &&
install -m644 libjbig/libjbig.a /usr/lib32

64Bit

Compile the package:

make CC="gcc ${BUILD64} -fPIC"

Install the package:

install -m755 pbmtools/{jbgtopbm,pbmtojbg} /usr/bin &&
install -m644 libjbig/jbig.h /usr/include &&
install -m644 libjbig/libjbig.a /usr/lib64
Retrieved from "?title=JBIG-Kit&oldid=19312"