Enca

From CBLFS
Jump to navigationJump to search
Download Source: http://www.sfr-fresh.com/unix/privat/enca-1.9.tar.gz

Introduction to Enca

Enca detects the encoding of text files, on the basis of knowledge of their language. It can also convert them to other encodings, allowing you to recode files without knowing their current encoding. It supports most of Central and East European languages, and a few Unicode variants, independently on language.

Project Homepage: http://freshmeat.net/projects/enca/


Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --libexecdir=/usr/lib &&
make

An optional 'make check' is available at this point:

make check

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure \
--prefix=/usr --libexecdir=/usr/lib &&
make

An optional 'make check' is available at this point:

make check

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" ./configure \
--prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32 &&
make

An optional 'make check' is available at this point:

make check

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure \
--prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 &&
make

An optional 'make check' is available at this point:

make check

Delete previously made symbolic links or the installation will fail:

rm /usr/bin/enconv &&
rm /usr/share/man/man1/enconv.1

Install the package:

make install

Contents

Installed Directories: /usr/share/gtk-doc/html/libenca
Installed Programs: enca, /usr/lib/enca/extconv/{cstocs,map,piconv,recode,umap}
Installed Libraries: libenca.{a,so}

Short Descriptions

enca detects and converts encoding of text files.