#!/usr/bin/env modbuild

pbuild::set_download_url "https://ftp.gnu.org/pub/gnu/$P/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Tools'

pbuild::add_configure_args "--prefix=${PREFIX}"
pbuild::add_configure_args "--bindir=${PREFIX}/sbin"
pbuild::add_configure_args "--disable-java"
pbuild::add_configure_args "--disable-threads"
pbuild::add_configure_args "--disable-shared"
pbuild::add_configure_args "--enable-relocatable"
pbuild::add_configure_args "--disable-openmp"
pbuild::add_configure_args "--disable-acl"
pbuild::add_configure_args "--disable-curses"
pbuild::add_configure_args "--with-included-gettext"
pbuild::add_configure_args "--without-libiconv-prefix"
pbuild::add_configure_args "--without-libintl-prefix"
pbuild::add_configure_args "--with-included-libxml"
pbuild::add_configure_args "--with-pic=yes"

