void-packages/srcpkgs/fcgi/template

35 lines
817 B
Bash

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