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 +}