void-packages/srcpkgs/fcgiwrap/template
2020-05-29 13:04:36 +02:00

26 lines
740 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="Orphaned <orphan@voidlinux.org>"
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
}