Libnet

From CBLFS
Revision as of 02:32, 24 March 2011 by Grumpy-biatch (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: ftp://ftp.swin.edu.au/gentoo/distfiles/libnet-1.1.2.1.tar.gz



Introduction to Libnet

A C library for portable packet creation and injection.

Project Homepage: Unknown

Dependencies

Non-Multilib

To be done

Multilib

32Bit

Configure and compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
LD="ld ${LD_BUILD32}" \
 ./configure --sysconfdir=/etc \
   --mandir=/usr/share/man \
   --localstatedir=/var --host=$CLFS_TARGET32
make

Install the package:

make install

N32

To be done

64Bit

Configure and compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64}"  CXX="g++ ${BUILD64}" \
LD="ld ${LD_BUILD64}" \  
 ./configure --sysconfdir=/etc \
   --mandir=/usr/share/man --libdir=/usr/lib64 \
   --localstatedir=/var --host=$CLFS_TARGET64
make

Install the package:

make install
unset USE_ARCH

LIBVER=`cat VERSION` &&
install -v -m755 -d /usr/share/doc/libnet-"${LIBVER}" &&
cp -v doc/html/* /usr/share/doc/libnet-"${LIBVER}"

Contents

Installed Programs:
Installed Libraries: libnet.a
Installed Directories: /usr/include/libnet, /usr/share/doc/libnet-1.1.2.1