Magellan Linux

Contents of /trunk/todo/clearsilver/clearsilver-0.10.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2208 - (show annotations) (download)
Thu Jul 9 19:19:23 2009 UTC (14 years, 10 months ago) by niro
File size: 1169 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/clearsilver/clearsilver-0.10.5-r2.smage2,v 1.1 2008/04/23 08:08:26 niro Exp $
2
3 PNAME="clearsilver"
4 PVER="0.10.5"
5 PBUILD="r2"
6
7 PCATEGORIE="dev-libs"
8 STATE="testing"
9
10 DESCRIPTION="Clearsilver is a fast, powerful, and language-neutral HTML template system."
11 HOMEPAGE="http://www.clearsilver.net/"
12
13 DEPEND=">= dev-lang/python-2.5
14 >= dev-lang/perl-5.8.8"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 # include mbuild at last, to overwrite all build functions!
20 sminclude mtools python perl mbuild
21
22 SRC_URI=(
23 http://www.clearsilver.net/downloads/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-${PVER}-lib64.patch
26 )
27
28 src_prepare()
29 {
30 munpack ${SRCFILE}
31 cd ${SRCDIR}
32
33 # fix lib64 issues
34 if [[ $(mlibdir) = lib64 ]]
35 then
36 mpatch ${PNAME}-${PVER}-lib64.patch || die
37 #autoreconf --install --force || die
38 autoconf --force || die
39 fi
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45
46 mconfigure \
47 --enable-perl \
48 --with-perl=/usr/bin/perl \
49 --enable-python \
50 --with-python=/usr/bin/python \
51 --disable-apache \
52 --disable-ruby \
53 --disable-java \
54 --disable-csharp \
55 || die
56
57 mmake || die
58 }

Properties

Name Value
svn:keywords Id