Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1822 - (show annotations) (download)
Sat Jun 6 15:34:07 2009 UTC (14 years, 11 months ago) by niro
File size: 1288 byte(s)
auto added: ver bump to 3.5.10-r2
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 >= virtual/java-jdk"
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 )
30
31 src_prepare()
32 {
33 # warn about /proc in chroot environments
34 [[ ! -d /proc/sys ]] && die "Please make sure /proc is mounted in chroot-environments."
35
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # install perl modules into vendor dir
40 mpatch ${PNAME}-3.5.6-installdirs-vendor.patch || die
41 }
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46
47 # sip/pyqt/pykde built separately, not here
48 export DO_NOT_COMPILE="${DO_NOT_COMPILE} python"
49
50 # requires somewhat unbelievable amounts of memory (1.5GB and more)
51 # and is not parallel safe too
52 kde3_configure --disable-final || die
53 mmake -j1 || die
54 }
55
56 src_install()
57 {
58 kde3_src_install
59
60 # move pods to /usr/share
61 fixlocalpod || die
62 }

Properties

Name Value
svn:keywords Id