From: | "Mounir Lamouri (volkmar)" <volkmar@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/clinkcc: metadata.xml ChangeLog clinkcc-1.7.1.ebuild |
Date: | Thu, 18 Jun 2009 18:57:19 |
Message-Id: | E1MHMnV-0001Td-9u@stork.gentoo.org |
1 | volkmar 09/06/18 18:57:17 |
2 | |
3 | Added: metadata.xml ChangeLog clinkcc-1.7.1.ebuild |
4 | Log: |
5 | initial commit, bug 179471 |
6 | (Portage version: 2.1.6.13/cvs/Linux ppc) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-libs/clinkcc/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>no-herd</herd> |
20 | <maintainer> |
21 | <email>volkmar@g.o</email> |
22 | <name>Mounir Lamouri</name> |
23 | </maintainer> |
24 | <use> |
25 | <flag name="mythtv">Enable MythTV support</flag> |
26 | </use> |
27 | </pkgmetadata> |
28 | |
29 | |
30 | |
31 | |
32 | 1.1 net-libs/clinkcc/ChangeLog |
33 | |
34 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/ChangeLog?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/ChangeLog?rev=1.1&content-type=text/plain |
36 | |
37 | Index: ChangeLog |
38 | =================================================================== |
39 | # ChangeLog for net-libs/clinkcc |
40 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
41 | # $Header: /var/cvsroot/gentoo-x86/net-libs/clinkcc/ChangeLog,v 1.1 2009/06/18 18:57:17 volkmar Exp $ |
42 | |
43 | *clinkcc-1.7.1 (18 Jun 2009) |
44 | |
45 | 18 Jun 2009; Mounir Lamouri <volkmar@g.o> |
46 | +files/clinkcc-1.7.1-gentoo.patch, +metadata.xml, +clinkcc-1.7.1.ebuild: |
47 | Initial commit. Fixes bug 179471. |
48 | |
49 | |
50 | |
51 | |
52 | 1.1 net-libs/clinkcc/clinkcc-1.7.1.ebuild |
53 | |
54 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/clinkcc-1.7.1.ebuild?rev=1.1&view=markup |
55 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/clinkcc/clinkcc-1.7.1.ebuild?rev=1.1&content-type=text/plain |
56 | |
57 | Index: clinkcc-1.7.1.ebuild |
58 | =================================================================== |
59 | # Copyright 1999-2009 Gentoo Foundation |
60 | # Distributed under the terms of the GNU General Public License v2 |
61 | # $Header: /var/cvsroot/gentoo-x86/net-libs/clinkcc/clinkcc-1.7.1.ebuild,v 1.1 2009/06/18 18:57:17 volkmar Exp $ |
62 | |
63 | EAPI="2" |
64 | |
65 | inherit autotools eutils versionator |
66 | |
67 | MY_PV=$(delete_all_version_separators) |
68 | MY_P=${PN}${MY_PV} |
69 | DOC_PV=170 |
70 | |
71 | DESCRIPTION="CyberLink for C++ is a development package for UPnP" |
72 | HOMEPAGE="http://sourceforge.net/projects/clinkcc/" |
73 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz |
74 | doc? ( mirror://sourceforge/${PN}/${PN}doxygen${DOC_PV}.zip |
75 | mirror://sourceforge/${PN}/${PN}proguide${DOC_PV}.pdf )" |
76 | |
77 | LICENSE="BSD" |
78 | SLOT="0" |
79 | KEYWORDS="~ppc ~x86" |
80 | IUSE="doc examples expat mythtv xml" |
81 | |
82 | RDEPEND="expat? ( >=dev-libs/expat-1.95 ) |
83 | mythtv? ( virtual/mysql ) |
84 | xml? ( >=dev-libs/libxml2-2.6.20 ) |
85 | !expat? ( !xml? ( >=dev-libs/xerces-c-2.3.0 ) ) |
86 | virtual/libiconv" |
87 | DEPEND="${RDEPEND} |
88 | doc? ( app-arch/unzip )" |
89 | |
90 | S=${WORKDIR}/CyberLink |
91 | |
92 | src_prepare() { |
93 | # do not build examples (fix in .am as we _have_ to do an autoreconf) |
94 | sed -i -e "s:sample::" Makefile.am || die "sed failed" |
95 | |
96 | epatch "${FILESDIR}"/${P}-gentoo.patch |
97 | |
98 | eautoreconf # fix install-sh permission denied |
99 | } |
100 | |
101 | src_configure() { |
102 | econf \ |
103 | --disable-dependency-tracking \ |
104 | $(use_enable expat) \ |
105 | $(use_enable mythtv) \ |
106 | $(use_enable xml libxml2) |
107 | } |
108 | |
109 | src_install() { |
110 | emake DESTDIR="${D}" install || die "emake install failed" |
111 | |
112 | dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |
113 | |
114 | if use examples; then |
115 | insinto /usr/share/doc/${PF}/examples |
116 | doins -r sample/* || die "doins failed" |
117 | ewarn "Installed examples Makefiles will probably not work." |
118 | ewarn "If you want easy-to-compile examples, you should use ${PN} tarball." |
119 | fi |
120 | |
121 | if use doc; then |
122 | dohtml -r "${WORKDIR}"/clinkccdoxygen/html/* || die "dohtml failed" |
123 | dodoc "${DISTDIR}"/${PN}proguide${DOC_PV}.pdf || die "dodoc failed" |
124 | fi |
125 | } |