summaryrefslogtreecommitdiff
path: root/libnet/Pkgfile
blob: ae9515af291a7d0b5bcaba2f4cb29eade33d60b1 (plain)
    1 # Description: Library for constructing and injecting network packets
    2 # URL:         http://libnet-dev.sf.net
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Depends on:
    5 
    6 name=libnet
    7 version=1.2-rc3
    8 release=1
    9 source=(http://downloads.sourceforge.net/project/libnet-dev/libnet-$version.tar.gz)
   10 
   11 build() {
   12     cd $name-$version
   13     export CFLAGS=$CFLAGS" -fPIC" 
   14 
   15     ./configure --prefix=/usr --mandir=/usr/man
   16     sed -i 's/ sample//g' Makefile
   17     make
   18     make DESTDIR=$PKG install
   19     install -D -m 755 libnet-config $PKG/usr/bin/libnet-config
   20 }

Generated by cgit