/[gentoo-x86]/gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild
Gentoo

Contents of /gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue May 26 17:34:30 2009 UTC (10 years, 10 months ago) by arfrever
Branch: MAIN
Changes since 1.2: +6 -2 lines
Add pkg_setup().
(Portage version: 13625-svn/cvs/Linux x86_64)

1 arfrever 1.3 # Copyright 1999-2009 Gentoo Foundation
2 voyageur 1.1 # Distributed under the terms of the GNU General Public License v2
3 arfrever 1.3 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild,v 1.2 2008/01/31 19:57:27 hollow Exp $
4 voyageur 1.1
5     inherit gnustep-2 apache-module
6    
7     DESCRIPTION="GNUstepWeb: a library compatible with WebObjects 4.x"
8     HOMEPAGE="http://www.gnustep.org/"
9     SRC_URI="mirror://gentoo/${P}.tar.gz"
10    
11     KEYWORDS="~amd64 ~ppc ~x86"
12     LICENSE="LGPL-2.1"
13     SLOT="0"
14    
15     DEPEND="gnustep-libs/gdl2
16     x11-libs/libPropList"
17     RDEPEND="${DEPEND}"
18     need_apache2
19    
20     APACHE2_MOD_FILE="${S}/GSWAdaptors/Apache2/.libs/mod_gsw.so"
21     APACHE2_MOD_CONF="42_mod_gsweb"
22    
23 arfrever 1.3 pkg_setup() {
24     gnustep-base_pkg_setup
25     }
26    
27 voyageur 1.1 src_compile() {
28     gnustep-base_src_compile
29     cd GSWAdaptors/Apache2
30     gnustep-base_src_compile
31     }
32    
33     src_install() {
34     gnustep-base_src_install
35     cd GSWAdaptors/Apache2
36     apache-module_src_install
37    
38     insinto /etc/gsweb
39     doins "${FILESDIR}"/gsweb.conf
40    
41     if use doc; then
42     insinto ${GNUSTEP_SYSTEM_DOC}/GSWeb
43     doins "${S}"/GSWAdaptors/Doc/ConfigurationFile.html
44     fi
45     }
46    
47     pkg_postinst() {
48     elog "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and"
49     elog "add \"-D GSWeb\" to APACHE2_OPTS"
50     elog "Configuration file was installed as"
51 hollow 1.2 elog " ${APACHE_MODULES_CONFDIR}/${APACHE2_MOD_CONF}"
52 voyageur 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20