From: | "Ilya Volynets (iluxa)" <iluxa@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-cpp/sptk: ChangeLog sptk-3.5.8.4.ebuild |
Date: | Wed, 05 Nov 2008 09:56:01 |
Message-Id: | E1Kxf7F-0001lj-Qx@stork.gentoo.org |
1 | iluxa 08/11/05 09:55:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sptk-3.5.8.4.ebuild |
5 | Log: |
6 | Add sptk 3.5.8.4 |
7 | (Portage version: 2.1.4.5) |
8 | |
9 | Revision Changes Path |
10 | 1.41 dev-cpp/sptk/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.41&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.41&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?r1=1.40&r2=1.41 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v |
19 | retrieving revision 1.40 |
20 | retrieving revision 1.41 |
21 | diff -u -r1.40 -r1.41 |
22 | --- ChangeLog 9 Oct 2008 14:44:58 -0000 1.40 |
23 | +++ ChangeLog 5 Nov 2008 09:55:57 -0000 1.41 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-cpp/sptk |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.40 2008/10/09 14:44:58 iluxa Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.41 2008/11/05 09:55:57 iluxa Exp $ |
29 | + |
30 | +*sptk-3.5.8.4 (05 Nov 2008) |
31 | + |
32 | + 05 Nov 2008; Ilya A. Volynets-Evenbakh <iluxa@g.o> |
33 | + +sptk-3.5.8.4.ebuild: |
34 | + Add SPTK 3.5.8.4 |
35 | |
36 | 09 Oct 2008; Ilya A. Volynets-Evenbakh <iluxa@g.o> |
37 | sptk-3.5.8.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-cpp/sptk/sptk-3.5.8.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/sptk-3.5.8.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/sptk-3.5.8.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: sptk-3.5.8.4.ebuild |
47 | =================================================================== |
48 | # Copyright 2006-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-3.5.8.4.ebuild,v 1.1 2008/11/05 09:55:57 iluxa Exp $ |
51 | |
52 | inherit eutils flag-o-matic autotools multilib |
53 | |
54 | IUSE="fltk odbc doc sqlite3 examples excel postgres aspell mysql" |
55 | |
56 | DESCRIPTION="C++ user interface toolkit for X with database and Excel support" |
57 | SRC_URI="http://www.sptk.net/sptk-${PV}.tbz2" |
58 | HOMEPAGE="http://www.sptk.net" |
59 | |
60 | SLOT="3" |
61 | LICENSE="|| ( BSD )" |
62 | KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" |
63 | |
64 | RDEPEND="fltk? ( >=x11-libs/fltk-1.1.6 ) |
65 | odbc? ( >=dev-db/unixODBC-2.2.6 ) |
66 | sqlite3? ( >=dev-db/sqlite-3 ) |
67 | postgres? ( >=virtual/postgresql-base-8.0 ) |
68 | mysql? ( dev-db/mysql ) |
69 | aspell? ( >=app-text/aspell-0.50 )" |
70 | |
71 | DEPEND="${RDEPEND} |
72 | dev-util/cmake |
73 | doc? ( app-doc/doxygen )" |
74 | |
75 | check_use() { |
76 | if use ${1}; then |
77 | SPTK_OPTIONS="${SPTK_OPTIONS} -DNO_${2}:BOOLEAN=FALSE" |
78 | else |
79 | SPTK_OPTIONS="${SPTK_OPTIONS} -DNO_${2}:BOOLEAN=TRUE" |
80 | fi |
81 | } |
82 | |
83 | src_unpack() { |
84 | unpack ${A} |
85 | cd "${S}" |
86 | |
87 | check_use examples EXAMPLES |
88 | check_use postgres POSTGRESQL |
89 | check_use mysql MYSQL |
90 | check_use sqlite3 SQLITE3 |
91 | check_use odbc ODBC |
92 | check_use aspell ASPELL |
93 | check_use fltk FLTK |
94 | check_use excel EXCEL |
95 | |
96 | cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr -D LIBDIR=$(get_libdir) ${SPTK_OPTIONS} . || die "Configuration Failed" |
97 | } |
98 | |
99 | src_compile() { |
100 | |
101 | emake || die "Parallel Make Failed" |
102 | |
103 | if use doc; then |
104 | cd "${S}" |
105 | einfo "Fixing sptk3.doxygen" |
106 | sed -i -e 's,/cvs/sptk3/,,g' sptk3.doxygen |
107 | einfo "Building docs" |
108 | doxygen sptk3.doxygen |
109 | fi |
110 | |
111 | } |
112 | |
113 | src_install () { |
114 | |
115 | make DESTDIR="${D}" install || die "Installation failed" |
116 | |
117 | dodoc README AUTHORS |
118 | |
119 | dodir /usr/share/doc/${PF} |
120 | cp -r "${S}"/docs/* "${D}"/usr/share/doc/${PF} |
121 | if use doc; then |
122 | rm -fr "${D}/usr/share/doc/${PF}/latex" |
123 | cp -rf "${S}/pictures" "${D}/usr/share/doc/${PF}" |
124 | fi |
125 | } |