1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="FastCGI Developer's Kit"
9 HOMEPAGE="http://www.fastcgi.com/"
10 SRC_URI="http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz"
14 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
17 S="${WORKDIR}/${PN}-2.4.1-SNAP-0910052249"
20 "${FILESDIR}"/${PN}-2.4.0-Makefile.patch
21 "${FILESDIR}"/${PN}-2.4.0-clientdata-pointer.patch
22 "${FILESDIR}"/${PN}-2.4.0-html-updates.patch
23 "${FILESDIR}"/${PN}-2.4.1_pre0311112127-gcc44.patch
24 "${FILESDIR}"/${P}-link.patch
25 "${FILESDIR}"/${P}-poll.patch
34 econf --disable-static
38 emake DESTDIR="${D}" install LIBRARY_PATH="${ED}"/usr/$(get_libdir)
41 # install the manpages into the right place
44 # Only install the html documentation if USE=html
47 dodoc -r doc/*/* images
50 # install examples in the right place
55 find "${D}" -name '*.la' -delete || die