From bb13b3ea4c110e0370bc2a6791ba5ac2a86c6465 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 22 Feb 2019 13:31:57 -0300 Subject: [PATCH] fcgiwrap: fix homepage, variable ordering and include license. --- srcpkgs/fcgiwrap/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/fcgiwrap/template b/srcpkgs/fcgiwrap/template index 023fbda5f9a..a5fcb199d53 100644 --- a/srcpkgs/fcgiwrap/template +++ b/srcpkgs/fcgiwrap/template @@ -1,19 +1,26 @@ # Template file for 'fcgiwrap' pkgname=fcgiwrap version=1.1.0 -revision=4 +revision=5 build_style=gnu-configure -hostmakedepends="automake libtool pkg-config" +# with prefix=/usr prepends a second /usr to usr/bin and usr/share +configure_args="--prefix=/ --sbindir=/usr/bin" +hostmakedepends="automake libtool pkgconf" makedepends="fcgi-devel" short_desc="Simple server for running CGI applications over FastCGI" maintainer="Eivind Uggedal " license="MIT" -homepage="https://nginx.localdomain.pl/wiki/FcgiWrap" +homepage="https://github.com/gnosek/fcgiwrap" distfiles="https://github.com/gnosek/${pkgname}/archive/${version}.tar.gz" checksum=4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f -configure_args="--prefix=/ --sbindir=/usr/bin" # with prefix=/usr prepends a second /usr to usr/bin and usr/share + CFLAGS="-Wno-error" pre_configure() { autoreconf -fi } + +post_install() { + sed -n '1,24p' fcgiwrap.c > LICENSE + vlicense LICENSE +}