/[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.1 - (show annotations) (download)
Sat Dec 8 19:51:56 2007 UTC (12 years, 3 months ago) by voyageur
Branch: MAIN
Version bump, ported to gnustep-2
(Portage version: 2.1.4_rc9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
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 src_compile() {
24 gnustep-base_src_compile
25 cd GSWAdaptors/Apache2
26 gnustep-base_src_compile
27 }
28
29 src_install() {
30 gnustep-base_src_install
31 cd GSWAdaptors/Apache2
32 apache-module_src_install
33
34 insinto /etc/gsweb
35 doins "${FILESDIR}"/gsweb.conf
36
37 if use doc; then
38 insinto ${GNUSTEP_SYSTEM_DOC}/GSWeb
39 doins "${S}"/GSWAdaptors/Doc/ConfigurationFile.html
40 fi
41 }
42
43 pkg_postinst() {
44 elog "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and"
45 elog "add \"-D GSWeb\" to APACHE2_OPTS"
46 elog "Configuration file was installed as"
47 elog " ${APACHE2_MODULES_CONFDIR}/${APACHE2_MOD_CONF}"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20