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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 26 11:45:57 2006 UTC (13 years, 10 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old non-working CVS ebuild and bump to recent SVN
(Portage version: 2.1_pre6-r5)

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_pre20050312.ebuild,v 1.2 2005/08/25 19:03:48 swegener 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 need_apache2
31
32 IUSE=""
33
34 egnustep_install_domain "System"
35
36 src_unpack() {
37 cvs_src_unpack ${A}
38 EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PV}-build-fixes.patch
39 cd ${S}
40 }
41
42 src_compile() {
43 cd ${S}
44 egnustep_env
45 econf "--prefix=$(egnustep_prefix)" || die "./configure failed"
46 egnustep_make || die
47 cd ${S}/GSWAdaptors/Apache
48 #pwd
49 #einfo "emake -f GNUmakefile-Apache${APACHE_VERSION}x all"
50 emake -f GNUmakefile-Apache${APACHE_VERSION}x all
51 #ls -la
52 cd ${S}
53 #pwd
54 }
55
56 src_install() {
57 egnustep_env
58 gnustep_src_install
59 cd ${S}/GSWAdaptors/Apache
60 insinto ${APACHE2_MODULESDIR}
61 insopts -m0755
62 doins mod_gsweb.so
63 cd ${S}
64
65 insinto ${APACHE2_MODULES_CONFDIR}
66 insopts -m0664
67 doins ${FILESDIR}/${APACHE_VERSION}/42_mod_gsweb.conf
68
69 dodir /etc/gsweb
70 insinto /etc/gsweb
71 insopts -m0664
72 doins ${FILESDIR}/gsweb.conf
73
74 dodir $(egnustep_system_root)/Library/Documentation/GSWeb
75 insinto $(egnustep_system_root)/Library/Documentation/GSWeb
76 doins GSWAdaptors/Doc/ConfigurationFile.html
77 }
78
79 pkg_postinst() {
80 gnustep_pkg_postinst
81 einfo "Edit /etc/conf.d/apache${APACHE_VERSION#1} and add \"-D GSWeb\" to APACHE${APACHE_VERSION#1}_OPTS"
82 }

  ViewVC Help
Powered by ViewVC 1.1.20