/[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.4 - (show annotations) (download)
Thu Aug 19 19:19:07 2010 UTC (9 years, 7 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Last rites, bug #318137

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gsweb/gsweb-1.3.0_pre20071207.ebuild,v 1.3 2009/05/26 17:34:30 arfrever Exp $
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 pkg_setup() {
24 gnustep-base_pkg_setup
25 }
26
27 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 elog " ${APACHE_MODULES_CONFDIR}/${APACHE2_MOD_CONF}"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20