1 |
jlec 10/06/30 13:50:54 |
2 |
|
3 |
Modified: ChangeLog excelformat-100112.ebuild |
4 |
Log: |
5 |
Install static lib |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-libs/excelformat/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/ChangeLog?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/ChangeLog?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/ChangeLog?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/excelformat/ChangeLog,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- ChangeLog 30 Jun 2010 09:13:22 -0000 1.1 |
22 |
+++ ChangeLog 30 Jun 2010 13:50:54 -0000 1.2 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for dev-libs/excelformat |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/ChangeLog,v 1.1 2010/06/30 09:13:22 jlec Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/ChangeLog,v 1.2 2010/06/30 13:50:54 jlec Exp $ |
28 |
+ |
29 |
+ 30 Jun 2010; Justin Lecher <jlec@g.o> excelformat-100112.ebuild: |
30 |
+ Install static lib |
31 |
|
32 |
*excelformat-100112 (30 Jun 2010) |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.2 dev-libs/excelformat/excelformat-100112.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: excelformat-100112.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- excelformat-100112.ebuild 30 Jun 2010 09:13:22 -0000 1.1 |
50 |
+++ excelformat-100112.ebuild 30 Jun 2010 13:50:54 -0000 1.2 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild,v 1.1 2010/06/30 09:13:22 jlec Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/excelformat/excelformat-100112.ebuild,v 1.2 2010/06/30 13:50:54 jlec Exp $ |
56 |
|
57 |
EAPI="3" |
58 |
|
59 |
@@ -27,6 +27,7 @@ |
60 |
} |
61 |
|
62 |
src_compile() { |
63 |
+ local cmd |
64 |
for i in *.cpp; do |
65 |
cmd="$(tc-getCXX) ${CXXFLAGS} -trigraphs -c $i" |
66 |
einfo ${cmd} |
67 |
@@ -35,6 +36,12 @@ |
68 |
cmd="$(tc-getCXX) ${LDFLAGS} -Wl,-soname,libExcelFormat.so.0 -o libExcelFormat.so.0.0.0 `ls *.o`" |
69 |
einfo ${cmd} |
70 |
${cmd} || die |
71 |
+ cmd="$(tc-getAR) cru libExcelFormat.a `ls *.o`" |
72 |
+ einfo ${cmd} |
73 |
+ ${cmd} || die |
74 |
+ cmd="$(tc-getRANLIB) libExcelFormat.a" |
75 |
+ einfo ${cmd} |
76 |
+ ${cmd} || die |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
@@ -42,4 +49,5 @@ |
81 |
doins BasicExcel.hpp ExcelFormat.h || die |
82 |
dolib.so libExcelFormat.so.0.0.0 || die |
83 |
dosym libExcelFormat.so.0.0.0 /usr/$(get_libdir)/libExcelFormat.so || die |
84 |
+ dolib.a libExcelFormat.a || die |
85 |
} |