void-packages/srcpkgs/fcgiwrap/template

27 lines
744 B
Bash

# Template file for 'fcgiwrap'
pkgname=fcgiwrap
version=1.1.0
revision=6
build_style=gnu-configure
# with prefix=/usr prepends a second /usr to usr/bin and usr/share
configure_args="--prefix=/ --sbindir=/usr/bin"
hostmakedepends="automake libtool pkg-config"
makedepends="fcgi-devel"
short_desc="Simple server for running CGI applications over FastCGI"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/gnosek/fcgiwrap"
distfiles="https://github.com/gnosek/${pkgname}/archive/${version}.tar.gz"
checksum=4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f
CFLAGS="-Wno-error"
pre_configure() {
autoreconf -fi
}
post_install() {
sed -n '1,24p' fcgiwrap.c > LICENSE
vlicense LICENSE
}