pkgname=packetdrill
pkgver=git
pkgrel=1
url='https://github.com/google/packetdrill'
arch=('x86_64')
license=('GPL')
source=('https://github.com/google/packetdrill.git')
md5sums=('SKIP')

build()
{
	cd ${srcdir}/${pkgname}/gtests/net/packetdrill

	./configure
	CPPFLAGS="" make
}

package()
{
	cd $srcdir/$pkgname

	mkdir -p "${pkgdir}/lkp/benchmarks/${pkgname}"
	cp -af ./* "${pkgdir}/lkp/benchmarks/${pkgname}"
}
