void-packages/srcpkgs/fcgi/template

33 lines
870 B
Text

# Template file for 'fcgi'
pkgname=fcgi
version=2.4.0
revision=2
hostmakedepends="libtool automake"
short_desc="Fast, open, and secure Web server interface"
maintainer="Enno Boland <eb@s01.de>"
license="custom"
homepage="http://www.fastcgi.com/"
distfiles="http://ftp.de.debian.org/debian/pool/main/libf/libfcgi/libfcgi_${version}.orig.tar.gz"
checksum=c21f553f41141a847b2f1a568ec99a3068262821e4e30bc9d4b5d9091aa0b5f7
wrksrc="libfcgi-${version}.orig"
build_style=gnu-configure
disable_parallel_build=yes
pre_configure() {
touch NEWS AUTHORS ChangeLog
autoreconf -fi
}
post_install() {
vinstall LICENSE.TERMS 644 "usr/share/licenses/${pkgname}/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
}
}