# Template file for 'fcgi'
pkgname=fcgi
version=2.4.2
revision=1
build_style=gnu-configure
hostmakedepends="libtool automake"
short_desc="Fast, open, and secure Web server interface"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="custom:fastcgi"
homepage="https://directory.fsf.org/wiki/Libfcgi"
distfiles="${DEBIAN_SITE}/main/libf/libfcgi/libfcgi_${version}.orig.tar.gz"
checksum=1fe83501edfc3a7ec96bb1e69db3fd5ea1730135bd73ab152186fd0b437013bc

disable_parallel_build=yes

pre_configure() {
	touch NEWS AUTHORS ChangeLog
	autoreconf -fi
}
post_install() {
	vlicense LICENSE.TERMS LICENSE
}

fcgi-devel_package() {
	depends="fcgi>=${version}_${revision}"
		short_desc+=" - development files"
		pkg_install() {
			vmove usr/include
			vmove usr/lib/*.a
			vmove usr/lib/*.so
		}
}
