Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4800 - (show annotations) (download)
Sat Jan 2 13:06:36 2010 UTC (14 years, 4 months ago) by niro
File size: 1513 byte(s)
-removed gtk1 dep
1 # $Id$
2
3 PNAME="kdebindings"
4 PVER="3.5.10"
5 PBUILD="r4"
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 >= dev-lang/python-2.6
15 >= dev-lang/perl-5.10
16 >= virtual/java-jdk"
17 # >= dev-lang/ruby-1.9
18
19 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 # pull in perl as last to get perl's {pre,post}install {pre,post}remove
23 sminclude kde3 python perl
24
25 SRC_URI=(
26 kde://${PVER}/src/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-3.5.6-installdirs-vendor.patch
29 mirror://${PNAME}/${PNAME}-${PVER}-no-gtk1-glib1-check.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 # remove gtk1 dependencies
44 mpatch ${PNAME}-${PVER}-no-gtk1-glib1-check.patch || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 # sip/pyqt/pykde built separately, not here
52 # qtruby/smoke is considered broken by upstream, omiting this
53 export DO_NOT_COMPILE="${DO_NOT_COMPILE} python qtruby korundum"
54
55 # requires somewhat unbelievable amounts of memory (1.5GB and more)
56 # and is not parallel safe too
57 kde3_configure --disable-final || die
58 mmake -j1 || die
59 }
60
61 src_install()
62 {
63 kde3_src_install
64
65 # move pods to /usr/share
66 fixlocalpod || die
67 }

Properties

Name Value
svn:keywords Id