Difference between revisions of "Libnet"

From CBLFS
Jump to navigationJump to search
(Created page with '{| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://download2us.softpedia.com/dl/78a73dbec1d385fe63ce077fc7aa3b32/4a51c585/500010275/linux/lib…')
 
m
 
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://download2us.softpedia.com/dl/78a73dbec1d385fe63ce077fc7aa3b32/4a51c585/500010275/linux/libnet-1.1.2.1.tar.gz
+
| ftp://ftp.swin.edu.au/gentoo/distfiles/libnet-1.1.2.1.tar.gz
 
|}
 
|}
  

Latest revision as of 01:32, 24 March 2011

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
Retrieved from "?title=Libnet&oldid=21057"