From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/excelformat: metadata.xml ChangeLog excelformat-100112.ebuild |
Date: | Wed, 30 Jun 2010 09:13:32 |
Message-Id: | 20100630091323.1FC472C621@corvid.gentoo.org |
1 | jlec 10/06/30 09:13:22 |
2 | |
3 | Added: metadata.xml ChangeLog excelformat-100112.ebuild |
4 | Log: |
5 | New addition |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-libs/excelformat/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <pkgmetadata> |
18 | <herd>sci</herd> |
19 | <maintainer> |
20 | <email>jlec@g.o</email> |
21 | </maintainer> |
22 | </pkgmetadata> |
23 | |
24 | |
25 | |
26 | 1.1 dev-libs/excelformat/ChangeLog |
27 | |
28 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/ChangeLog?rev=1.1&view=markup |
29 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/ChangeLog?rev=1.1&content-type=text/plain |
30 | |
31 | Index: ChangeLog |
32 | =================================================================== |
33 | # ChangeLog for dev-libs/excelformat |
34 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
35 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/ChangeLog,v 1.1 2010/06/30 09:13:22 jlec Exp $ |
36 | |
37 | *excelformat-100112 (30 Jun 2010) |
38 | |
39 | 30 Jun 2010; Justin Lecher <jlec@g.o> +files/100112-gcc.patch, |
40 | +excelformat-100112.ebuild, +metadata.xml: |
41 | New addition |
42 | |
43 | |
44 | |
45 | |
46 | 1.1 dev-libs/excelformat/excelformat-100112.ebuild |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild?rev=1.1&content-type=text/plain |
50 | |
51 | Index: excelformat-100112.ebuild |
52 | =================================================================== |
53 | # Copyright 1999-2010 Gentoo Foundation |
54 | # Distributed under the terms of the GNU General Public License v2 |
55 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild,v 1.1 2010/06/30 09:13:22 jlec Exp $ |
56 | |
57 | EAPI="3" |
58 | |
59 | inherit eutils multilib toolchain-funcs |
60 | |
61 | DESCRIPTION="Library for reading, writing, and editing of XLS (BIFF8 format) files" |
62 | HOMEPAGE="http://www.codeproject.com/KB/office/ExcelFormat.aspx" |
63 | SRC_URI="mirror://gentoo/${P}.zip" |
64 | |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~x86" |
67 | LICENSE="CPOL" |
68 | IUSE="" |
69 | |
70 | RDEPEND="" |
71 | DEPEND="${RDEPEND} |
72 | app-arch/unzip" |
73 | |
74 | S="${WORKDIR}" |
75 | |
76 | src_prepare() { |
77 | edos2unix * |
78 | epatch "${FILESDIR}"/${PV}-gcc.patch |
79 | } |
80 | |
81 | src_compile() { |
82 | for i in *.cpp; do |
83 | cmd="$(tc-getCXX) ${CXXFLAGS} -trigraphs -c $i" |
84 | einfo ${cmd} |
85 | ${cmd} || die |
86 | done |
87 | cmd="$(tc-getCXX) ${LDFLAGS} -Wl,-soname,libExcelFormat.so.0 -o libExcelFormat.so.0.0.0 `ls *.o`" |
88 | einfo ${cmd} |
89 | ${cmd} || die |
90 | } |
91 | |
92 | src_install() { |
93 | insinto /usr/include/ |
94 | doins BasicExcel.hpp ExcelFormat.h || die |
95 | dolib.so libExcelFormat.so.0.0.0 || die |
96 | dosym libExcelFormat.so.0.0.0 /usr/$(get_libdir)/libExcelFormat.so || die |
97 | } |