Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/openh323: openh323-1.18.0.ebuild
Date: Thu, 28 Oct 2010 14:35:49
Message-Id: 20101028143543.6D82C20051@flycatcher.gentoo.org
1 ssuominen 10/10/28 14:35:43
2
3 Modified: openh323-1.18.0.ebuild
4 Log:
5 quoting
6
7 (Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 net-libs/openh323/openh323-1.18.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild?r1=1.9&r2=1.10
15
16 Index: openh323-1.18.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- openh323-1.18.0.ebuild 12 Mar 2009 19:36:43 -0000 1.9
23 +++ openh323-1.18.0.ebuild 28 Oct 2010 14:35:43 -0000 1.10
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2009 Gentoo Foundation
26 +# Copyright 1999-2010 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild,v 1.9 2009/03/12 19:36:43 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild,v 1.10 2010/10/28 14:35:43 ssuominen Exp $
30
31 inherit eutils flag-o-matic multilib
32
33 @@ -27,13 +27,13 @@
34 }
35
36 src_unpack() {
37 - tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Unpacking failed"
38 + tar -xzf "${DISTDIR}"/${A} -C "${WORKDIR}" || die
39
40 - cd ${S}
41 + cd "${S}"
42 # Makefile does not work correctly, fix
43 - epatch ${FILESDIR}/${PN}-1.18.0-install.diff
44 + epatch "${FILESDIR}"/${PN}-1.18.0-install.diff
45 # Do not include compiler.h, bug #168791
46 - epatch "${FILESDIR}/${P}-compilerh.patch"
47 + epatch "${FILESDIR}"/${P}-compilerh.patch
48 }
49
50 src_compile() {
51 @@ -51,16 +51,16 @@
52 }
53
54 src_install() {
55 - emake ${makeopts} PREFIX=/usr DESTDIR=${D} install || die "emake install failed"
56 + emake ${makeopts} PREFIX=/usr DESTDIR="${D}" install || die
57
58 ###
59 # Compatibility "hacks"
60 #
61
62 # debug / no debug use different suffixes - some packages build with only one
63 - for i in ${D}/usr/lib/libh323_linux_x86_*; do
64 - use debug && ln -s ${D}/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_r/_n} \
65 - || ln -s ${D}/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_n/_r}
66 + for i in "${D}"/usr/lib/libh323_linux_x86_*; do
67 + use debug && ln -s "${D}"/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_r/_n} \
68 + || ln -s "${D}"/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_n/_r}
69 done
70
71 # set notrace corerctly
72 @@ -69,7 +69,7 @@
73 # mod to keep gnugk happy
74 insinto /usr/share/openh323/src
75 echo -e "opt:\n\t:" > ${T}/Makefile
76 - doins ${T}/Makefile
77 + doins "${T}"/Makefile
78
79 # these should point to the right directories,
80 # openh323.org apps and others need this