Libidn

From CBLFS
Revision as of 15:38, 30 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://josefsson.org/libidn/releases/libidn-0.6.3.tar.gz

Dependencies

Optional

Non-Multilib

Compile the package:

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

If you have TeTeX installed and wish to create a text version of the documentation, issue the following commands:

cd doc &&
makeinfo --plaintext -o libidn.txt libidn.texi &&
cd ..

Install the package

make install &&
find doc -name "Makefile*" -exec rm {} \; &&
install -v -m755 -d \
    /usr/share/doc/libidn-0.6.3/{api,java,specifications,tld} &&
install -v -m644 doc/components* \
                 doc/libidn.{pdf,ps,html} \
    /usr/share/doc/libidn-0.6.3 &&
install -v -m644 doc/reference/html/* \
    /usr/share/doc/libidn-0.6.3/api &&
install -v -m644 doc/specifications/* \
    /usr/share/doc/libidn-0.6.3/specifications &&
install -v -m644 doc/tld/* /usr/share/doc/libidn-0.6.3/tld &&
cp -v -R doc/java/* /usr/share/doc/libidn-0.6.3/java

If you created the text documentation, install it using the following command:

install -v -m644 doc/libidn.txt /usr/share/doc/libidn-0.6.3

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

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

Install the package

make install

64Bit

Compile the package:

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

If you have TeTeX installed and wish to create a text version of the documentation, issue the following commands:

cd doc &&
makeinfo --plaintext -o libidn.txt libidn.texi &&
cd ..

Install the package

make install &&
find doc -name "Makefile*" -exec rm {} \; &&
install -v -m755 -d \
    /usr/share/doc/libidn-0.6.3/{api,java,specifications,tld} &&
install -v -m644 doc/components* \
                 doc/libidn.{pdf,ps,html} \
    /usr/share/doc/libidn-0.6.3 &&
install -v -m644 doc/reference/html/* \
    /usr/share/doc/libidn-0.6.3/api &&
install -v -m644 doc/specifications/* \
    /usr/share/doc/libidn-0.6.3/specifications &&
install -v -m644 doc/tld/* /usr/share/doc/libidn-0.6.3/tld &&
cp -v -R doc/java/* /usr/share/doc/libidn-0.6.3/java

If you created the text documentation, install it using the following command:

install -v -m644 doc/libidn.txt /usr/share/doc/libidn-0.6.3