Magellan Linux

Contents of /branches/magellan-0_10_0/todo/pykde/pykde-3.16.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3000 - (show annotations) (download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 7 months ago) by niro
File size: 938 byte(s)
created branch 'magellan-0_10_0'
1 # $Header: /magellan-cvs/smage/pykde/pykde-3.16.1-r1.smage2,v 1.3 2008/04/21 14:31:14 niro Exp $
2
3 PNAME="pykde"
4 PVER="3.16.1"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-python"
8 STATE="unstable"
9
10 DESCRIPTION="Python KDE bindings."
11 HOMEPAGE="http://www.riverbankcomputing.co.uk/pykde/"
12
13 DEPEND=">= dev-lang/python-2.5
14 >= dev-python/pyqt-3
15 >= dev-python/sip-4.7
16 >= kde-base/kdelibs-3"
17
18 SRCFILE="PyKDE-${PVER}.tar.bz2"
19 SRCDIR="${BUILDDIR}/PyKDE-${PVER}"
20
21 # pull in mbuild to have a normal src_install()
22 sminclude python mbuild
23
24 SRC_URI=(
25 http://www.riverbankcomputing.com/static/Downloads/PyKDE3/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 src_compile()
30 {
31 cd ${SRCDIR}
32
33 local use_distcc
34 [[ ${SMAGE_USE_DISTCC} = true ]] && use_distcc="-c"
35
36 python configure.py \
37 -d /usr/$(mlibdir)/python$(get_python_version)/site-packages \
38 -k $(kde-config --prefix) \
39 -L $(mlibdir) \
40 -v /usr/share/sip \
41 -i \
42 ${use_distcc} \
43 || die
44
45 mmake || die
46 }

Properties

Name Value
svn:keywords Id