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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jan 10 16:24:19 2005 UTC (15 years, 1 month ago) by fafhrd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
cvs snapshot version bumps; cleaned out old cvs versioned ebuilds; fixed date spec on ebuild headers as repoman was complaining

1 # Copyright 1999-2004 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_pre20041119.ebuild,v 1.1 2004/11/21 20:28:36 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 ; epatch ${FILESDIR}/${PV}-build-fixes.patch )
39 ( cd ${S}/GSWAdaptors/Apache ; epatch ${FILESDIR}/apache1-make.patch )
40 ( cd ${S}/GSWAdaptors/Apache ; epatch ${FILESDIR}/apache2-make.patch )
41 }
42
43 src_compile() {
44 cd ${S}
45 egnustep_env
46 econf "--prefix=$(egnustep_prefix)" || die "./configure failed"
47 egnustep_make || die
48 cd ${S}/GSWAdaptors/Apache
49 pwd
50 einfo "emake -f GNUmakefile-Apache${APACHE_VERSION}x all"
51 emake -f GNUmakefile-Apache${APACHE_VERSION}x all
52 ls -la
53 cd ${S}
54 pwd
55 }
56
57 src_install() {
58 gnustep_src_install
59 cd ${S}/GSWAdaptors/Apache
60 insinto /usr/lib/apache${APACHE_VERSION#1}-extramodules
61 insopts -m0755
62 doins mod_gsweb.so
63 cd ${S}
64
65 insinto /etc/apache${APACHE_VERSION#1}/conf/modules.d
66 doins ${FILESDIR}/${APACHE_VERSION}/90_mod_gsweb.conf
67
68 insinto /etc/apache${APACHE_VERSION#1}/conf
69 doins ${FILESDIR}/gsweb.conf
70
71 dodir $(egnustep_system_domain)/Library/Documentation/GSWeb
72 insinto $(egnustep_system_domain)/Library/Documentation/GSWeb
73 doins GSWAdaptors/Doc/ConfigurationFile.html
74 }
75
76 pkg_postinst() {
77 gnustep_pkg_postinst
78 einfo "Edit /etc/conf.d/apache${APACHE_VERSION#1} and add \"-D GSWeb\" to APACHE${APACHE_VERSION#1}_OPTS"
79 }
80

  ViewVC Help
Powered by ViewVC 1.1.20