Magellan Linux

Contents of /trunk/extras/kdebindings/kdebindings-3.5.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3747 - (show annotations) (download)
Mon Nov 2 14:22:14 2009 UTC (14 years, 6 months ago) by niro
File size: 1389 byte(s)
-disabled ruby apps&bindings - considered broken by upstream
1 # $Id$
2
3 PNAME="kdebindings"
4 PVER="3.5.10"
5 PBUILD="r3"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 DESCRIPTION="KDE bindings for various programming languages."
11 HOMEPAGE="http://www.kde.org/"
12
13 DEPEND=">= kde-base/kdebase-${PVER}
14 >= x11-libs/gtk1+-1.2.10
15 >= dev-lang/python-2.6
16 >= dev-lang/perl-5.10
17 >= dev-lang/ruby-1.9
18 >= virtual/java-jdk"
19
20 SRCFILE="${PNAME}-${PVER}.tar.bz2"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 # pull in perl as last to get perl's {pre,post}install {pre,post}remove
24 sminclude kde3 python perl
25
26 SRC_URI=(
27 kde://${PVER}/src/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${PNAME}-3.5.6-installdirs-vendor.patch
30 )
31
32 src_prepare()
33 {
34 # warn about /proc in chroot environments
35 [[ ! -d /proc/sys ]] && die "Please make sure /proc is mounted in chroot-environments."
36
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # install perl modules into vendor dir
41 mpatch ${PNAME}-3.5.6-installdirs-vendor.patch || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 # sip/pyqt/pykde built separately, not here
49 # qtruby/smoke is considered broken by upstream, omiting this
50 export DO_NOT_COMPILE="${DO_NOT_COMPILE} python qtruby korundum"
51
52 # requires somewhat unbelievable amounts of memory (1.5GB and more)
53 # and is not parallel safe too
54 kde3_configure --disable-final || die
55 mmake -j1 || die
56 }
57
58 src_install()
59 {
60 kde3_src_install
61
62 # move pods to /usr/share
63 fixlocalpod || die
64 }

Properties

Name Value
svn:keywords Id