/[gentoo-x86]/dev-libs/fcgi/fcgi-2.4.1_pre0910052249.ebuild
Gentoo

Contents of /dev-libs/fcgi/fcgi-2.4.1_pre0910052249.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jul 29 23:56:22 2012 UTC (9 months, 2 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Stable ppc64, bug #415433

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/fcgi/fcgi-2.4.1_pre0910052249.ebuild,v 1.8 2012/07/29 17:03:20 armin76 Exp $
4
5 EAPI="2"
6
7 inherit eutils autotools multilib
8
9 DESCRIPTION="FastCGI Developer's Kit"
10 HOMEPAGE="http://www.fastcgi.com/"
11 SRC_URI="http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz"
12
13 LICENSE="FastCGI"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
16 IUSE="html"
17
18 DEPEND=""
19 RDEPEND=""
20
21 S="${WORKDIR}/fcgi-2.4.1-SNAP-0910052249"
22
23 src_prepare() {
24 epatch "${FILESDIR}/fcgi-2.4.0-Makefile.patch"
25 epatch "${FILESDIR}/fcgi-2.4.0-clientdata-pointer.patch"
26 epatch "${FILESDIR}/fcgi-2.4.0-html-updates.patch"
27 epatch "${FILESDIR}"/fcgi-2.4.1_pre0311112127-gcc44.patch
28 epatch "${FILESDIR}"/${P}-link.patch
29
30 eautoreconf
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install LIBRARY_PATH="${D}/usr/$(get_libdir)" || die
35
36 dodoc README
37
38 # install the manpages into the right place
39 doman doc/*.[13]
40
41 # Only install the html documentation if USE=html
42 if use html ; then
43 dohtml "${S}"/doc/*/*
44 insinto /usr/share/doc/${PF}/html
45 doins -r "${S}/images"
46 fi
47
48 # install examples in the right place
49 insinto /usr/share/doc/${PF}/examples
50 doins "${S}/examples/"*.c
51 }

  ViewVC Help
Powered by ViewVC 1.1.13