Magellan Linux

Contents of /trunk/extras/apache2-mod_python/apache2-mod_python-3.3.1-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5142 - (show annotations) (download)
Wed Mar 10 08:13:57 2010 UTC (14 years, 1 month ago) by niro
File size: 1054 byte(s)
-rev bump to -r6; rebuilt against apache 2.2.15
1 # $Id$
2
3 PNAME="apache2-mod_python"
4 PVER="3.3.1"
5 PBUILD="r6"
6
7 STATE="unstable"
8
9 DESCRIPTION="Mod_python is an apache module that embeds the python interpreter within the server."
10 HOMEPAGE="http://www.modpython.org/"
11
12 SRCFILE="${PNAME/#apache2-/}-${PVER}.tgz"
13
14 DEPEND=">= net-www/apache2-2
15 >= dev-lang/python-2.6"
16
17 sminclude apache2-module
18
19 SRC_URI=(
20 http://www.apache.org/dist/httpd/modpython/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-magellan.patch
23 mirror://${PNAME}/${PNAME}-${PVER}-apr_brigade_sentinel.patch
24 mirror://${PNAME}/${PNAME}-${PVER}-apache-2.4.patch
25 )
26
27 UP2DATE="updatecmd 'http://www.apache.org/dist/httpd/modpython/?C=M;O=D' | lasttarball tgz"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fix apache binary search path on magellan
35 mpatch ${PNAME}-${PVER}-magellan.patch || die
36
37 # fix an build error
38 mpatch ${PNAME}-${PVER}-apr_brigade_sentinel.patch || die
39
40 # fix build against newer apache
41 mpatch ${PNAME}-${PVER}-apache-2.4.patch || die
42
43 autoreconf --install --force || die
44 }

Properties

Name Value
svn:keywords Id