### this file is sourced not run
PKGVER=1.2rc3
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=libnet-1.2-rc3.tar.gz
MD5SUM=f051e6e5bdecddb90f77c701c2ca1804
SRC_URL=http://downloads.sourceforge.net/libnet-dev/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='libnet: libnet 1.2rc3 (Packet injection library)  
libnet:  
libnet: Libnet is an API to help with the construction and handling of network 
libnet: packets. It provides a portable framework for low-level network packet 
libnet: writing and handling (use libnet in conjunction with libpcap and you 
libnet: can write some really cool stuff). It includes packet creation at the 
libnet: IP layer and at the link layer as well as a host of supplementary and 
libnet: complementary functionality.  
libnet: 
libnet: 
libnet: http://sourceforge.net/projects/libnet-dev/files/
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multlib
	mv -v /usr/bin/libnet-config{,-64} &&
	ln -svf multiarch_wrapper /usr/bin/libnet-config
}


