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