diff options
Diffstat (limited to 'manualPorts/gengetopt/Pkgfile')
-rw-r--r-- | manualPorts/gengetopt/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manualPorts/gengetopt/Pkgfile b/manualPorts/gengetopt/Pkgfile new file mode 100644 index 0000000..c22d7a2 --- /dev/null +++ b/manualPorts/gengetopt/Pkgfile @@ -0,0 +1,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} +} |