summaryrefslogtreecommitdiff
path: root/manualPorts/gengetopt/Pkgfile
blob: c22d7a2739ca9359faf93227df4f5dfbb35c7076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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}
}