# Description: tool to write command line option parsing code for C programs
# URL: https://www.gnu.org/software/gengetopt/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: #teatime (irc.kyber.io), teatime at kyber dot io

name=gengetopt
version=2.22.6
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
  cd $name-$version
  ./configure --prefix=/usr
  MAKEFLAGS=-j1 make
  make DESTDIR=$PKG install
  rm -r $PKG/usr/share/{doc,info}
}