Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2166 - (show annotations) (download)
Thu Jul 9 19:08:40 2009 UTC (14 years, 10 months ago) by niro
File size: 1310 byte(s)
-added todo
1 # $Id$
2
3 PNAME="kdebindings"
4 PVER="3.5.10"
5 PBUILD="r2"
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 kde3_configure --disable-final || die
54 mmake -j1 || die
55 }
56
57 src_install()
58 {
59 kde3_src_install
60
61 # move pods to /usr/share
62 fixlocalpod || die
63 }

Properties

Name Value
svn:keywords Id