#!/usr/bin/env modbuild

pbuild::set_download_url "https://nmap.org/dist/$P-$V.tar.bz2"
pbuild::add_to_group 'System'
pbuild::compile_in_sourcetree

pbuild::add_configure_args "--with-libpcap=included"
pbuild::add_configure_args "--with-libpcre=included"
pbuild::add_configure_args "--with-libdnet=included"
pbuild::add_configure_args "--with-liblua=included"
pbuild::add_configure_args "--with-liblinear=included"

