diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild')
-rw-r--r-- | dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild new file mode 100644 index 000000000000..088ad6e3c474 --- /dev/null +++ b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils autotools multilib + +DESCRIPTION="FastCGI Developer's Kit" +HOMEPAGE="http://www.fastcgi.com/" +SRC_URI="http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz" + +LICENSE="FastCGI" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="html" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/fcgi-2.4.1-SNAP-0910052249" + +src_prepare() { + epatch "${FILESDIR}/fcgi-2.4.0-Makefile.patch" + epatch "${FILESDIR}/fcgi-2.4.0-clientdata-pointer.patch" + epatch "${FILESDIR}/fcgi-2.4.0-html-updates.patch" + epatch "${FILESDIR}"/fcgi-2.4.1_pre0311112127-gcc44.patch + epatch "${FILESDIR}"/${P}-link.patch + epatch "${FILESDIR}"/${P}-poll.patch + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install LIBRARY_PATH="${ED}/usr/$(get_libdir)" + + dodoc README + + # install the manpages into the right place + doman doc/*.[13] + + # Only install the html documentation if USE=html + if use html ; then + dohtml "${S}"/doc/*/* + insinto /usr/share/doc/${PF}/html + doins -r "${S}/images" + fi + + # install examples in the right place + insinto /usr/share/doc/${PF}/examples + doins "${S}/examples/"*.c +} |