| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.28 2012/03/29 15:35:04 patrick Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.29 2012/05/23 03:24:44 flameeyes Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: apache-2.eclass |
5 | # @ECLASS: apache-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # apache-devs@gentoo.org |
7 | # apache-devs@gentoo.org |
| 8 | # @BLURB: Provides a common set of functions for apache-2.x ebuilds |
8 | # @BLURB: Provides a common set of functions for apache-2.x ebuilds |
| … | |
… | |
| 465 | # @FUNCTION: apache-2_src_install |
465 | # @FUNCTION: apache-2_src_install |
| 466 | # @DESCRIPTION: |
466 | # @DESCRIPTION: |
| 467 | # This function runs `emake install' and generates, installs and adapts the gentoo |
467 | # This function runs `emake install' and generates, installs and adapts the gentoo |
| 468 | # specific configuration files found in the tarball |
468 | # specific configuration files found in the tarball |
| 469 | apache-2_src_install() { |
469 | apache-2_src_install() { |
| 470 | make DESTDIR="${D}" install || die "make install failed" |
470 | emake DESTDIR="${D}" MKINSTALLDIRS="mkdir -p" install || die "make install failed" |
| 471 | |
471 | |
| 472 | # install our configuration files |
472 | # install our configuration files |
| 473 | keepdir /etc/apache2/vhosts.d |
473 | keepdir /etc/apache2/vhosts.d |
| 474 | keepdir /etc/apache2/modules.d |
474 | keepdir /etc/apache2/modules.d |
| 475 | |
475 | |