Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3746 - (show annotations) (download)
Mon Nov 2 09:12:14 2009 UTC (14 years, 7 months ago) by niro
File size: 1561 byte(s)
-fixed missing ruby includes
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 export DO_NOT_COMPILE="${DO_NOT_COMPILE} python"
50
51 # requires somewhat unbelievable amounts of memory (1.5GB and more)
52 # and is not parallel safe too
53 # qtruby/smoke is considered broken by upstream, omiting this
54 # trying to install it with --with-extra-includes
55 local ruby_version=$(ruby -v | sed 's:.*ruby\ \(.*\)\ (.*:\1:;s:\(.*\)p.*:\1:')
56 kde3_configure --disable-final --with-extra-includes=/usr/include/ruby-${ruby_version} || die
57 mmake -j1 || die
58 }
59
60 src_install()
61 {
62 kde3_src_install
63
64 # move pods to /usr/share
65 fixlocalpod || die
66 }

Properties

Name Value
svn:keywords Id