/[gentoo-x86]/gnustep-libs/gsweb/gsweb-1.1.1_pre20041203.ebuild
Gentoo

Contents of /gnustep-libs/gsweb/gsweb-1.1.1_pre20041203.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 24 05:38:11 2005 UTC (14 years, 11 months ago) by fafhrd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
first and foremost, fixes for bug 77778; ebuild uses depend.apache.eclass, and not apache-module.eclass, as it is a complex apache module; depends on apache2; GSWeb must load right after SSL (for now), as mod_php is screwing up its alias handler, but not vice versa (and I dont use ldap or dav, atm)
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 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.1.1_pre20041203.ebuild,v 1.2 2005/01/10 16:24:19 fafhrd Exp $
4
5 ECVS_CVS_COMMAND="cvs -q"
6 ECVS_SERVER="savannah.gnu.org:/cvsroot/gnustep"
7 ECVS_USER="anoncvs"
8 ECVS_AUTH="ext"
9 ECVS_MODULE="gnustep/dev-libs/${PN}"
10 ECVS_CO_OPTS="-P -D ${PV/*_pre}"
11 ECVS_UP_OPTS="-dP -D ${PV/*_pre}"
12 ECVS_TOP_DIR="${DISTDIR}/cvs-src/savannah.gnu.org-gnustep"
13 inherit gnustep cvs eutils depend.apache
14
15 S=${WORKDIR}/${ECVS_MODULE}
16
17 DESCRIPTION="GNUstepWeb is a library which was designed to be compatible with WebObjects 4.x (developed by NeXT (now Apple) Inc.)."
18 HOMEPAGE="http://www.gnustep.org"
19
20 KEYWORDS="~ppc"
21 LICENSE="LGPL-2.1"
22 SLOT="0"
23
24 DEPEND="${GS_DEPEND}
25 gnustep-libs/gdl2
26 x11-libs/libPropList"
27 RDEPEND="${GS_RDEPEND}
28 gnustep-libs/gdl2
29 x11-libs/libPropList
30 net-www/apache"
31 need_apache2
32 IUSE="${IUSE}"
33
34 egnustep_install_domain "System"
35
36 src_unpack() {
37 cvs_src_unpack
38 cd ${S}/GSWeb.framework
39 epatch ${FILESDIR}/1.1.1_pre-build-fixes.patch
40 cd ${S}/GSWAdaptors/Apache
41 epatch ${FILESDIR}/apache1-make.patch
42 cd ${S}/GSWAdaptors/Apache
43 epatch ${FILESDIR}/apache2-make.patch
44 cd ${S}
45 }
46
47 src_compile() {
48 cd ${S}
49 egnustep_env
50 econf "--prefix=$(egnustep_prefix)" || die "./configure failed"
51 egnustep_make || die
52 cd ${S}/GSWAdaptors/Apache
53 pwd
54 einfo "emake -f GNUmakefile-Apache${APACHE_VERSION}x all"
55 emake -f GNUmakefile-Apache${APACHE_VERSION}x all
56 ls -la
57 cd ${S}
58 pwd
59 }
60
61 src_install() {
62 gnustep_src_install
63 cd ${S}/GSWAdaptors/Apache
64 insinto /usr/lib/apache${APACHE_VERSION#1}-extramodules
65 insopts -m0755
66 doins mod_gsweb.so
67 cd ${S}
68
69 insinto /etc/apache${APACHE_VERSION#1}/conf/modules.d
70 doins ${FILESDIR}/${APACHE_VERSION}/90_mod_gsweb.conf
71
72 insinto /etc/apache${APACHE_VERSION#1}/conf
73 doins ${FILESDIR}/gsweb.conf
74
75 dodir $(egnustep_system_domain)/Library/Documentation/GSWeb
76 insinto $(egnustep_system_domain)/Library/Documentation/GSWeb
77 doins GSWAdaptors/Doc/ConfigurationFile.html
78 }
79
80 pkg_postinst() {
81 gnustep_pkg_postinst
82 einfo "Edit /etc/conf.d/apache${APACHE_VERSION#1} and add \"-D GSWeb\" to APACHE${APACHE_VERSION#1}_OPTS"
83 }
84

  ViewVC Help
Powered by ViewVC 1.1.20