Gentoo Archives: gentoo-commits

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