diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-08 17:37:05 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-08 17:37:05 +0200 |
commit | 148c631a79b1b1d444ee36aeebfa88629415af82 (patch) | |
tree | 77aeabccc098af233cdacdb9efdd0e1c9c4a5376 /pcr | |
parent | 9bda01d1b9cf25b32e88dcabc3026960ca375c0f (diff) |
gengetopt
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/gengetopt/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/gengetopt/PKGBUILD b/pcr/gengetopt/PKGBUILD new file mode 100644 index 000000000..bc4bd7308 --- /dev/null +++ b/pcr/gengetopt/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor : Christian Hesse <mail@eworm.de> +# Contributor : andreas_baumann <abaumann@yahoo.com> +# Contributor : zhuqin <zhuqin83@gmail.com> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +pkgname=gengetopt +pkgver=2.22.6 +pkgrel=2 +pkgdesc="A tool to write command line option parsing code for C programs." +arch=('i686' 'x86_64' 'arm' 'armv6h') +url="http://www.gnu.org/software/gengetopt/gengetopt.html" +license="GPL" +options=('!docs' '!makeflags') +source=(ftp://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.gz{,.sig}) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} |