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-4.02.ebuild
Date: Thu, 01 Apr 2010 05:09:03
Message-Id: E1NxCeH-0008Jz-BO@stork.gentoo.org
1 iluxa 10/04/01 05:08:57
2
3 Modified: ChangeLog
4 Added: sptk-4.02.ebuild
5 Log:
6 - Verbump SPTK to 4.02
7 - Make sure sql2cpp is installed under correct name
8 (Portage version: 2.1.7.17/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.68 dev-cpp/sptk/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.68&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.68&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/ChangeLog?r1=1.67&r2=1.68
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v
20 retrieving revision 1.67
21 retrieving revision 1.68
22 diff -u -r1.67 -r1.68
23 --- ChangeLog 19 Jan 2010 10:59:24 -0000 1.67
24 +++ ChangeLog 1 Apr 2010 05:08:57 -0000 1.68
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-cpp/sptk
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.67 2010/01/19 10:59:24 iluxa Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.68 2010/04/01 05:08:57 iluxa Exp $
30 +
31 +*sptk-4.02 (01 Apr 2010)
32 +
33 + 01 Apr 2010; Ilya A. Volynets-Evenbakh <iluxa@g.o>
34 + +sptk-4.02.ebuild:
35 + Verbump SPTK to 4.02. Make sure sql2cpp is installed under correct name.
36
37 *sptk-4.00 (19 Jan 2010)
38
39
40
41
42 1.1 dev-cpp/sptk/sptk-4.02.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/sptk-4.02.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/sptk/sptk-4.02.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sptk-4.02.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-4.02.ebuild,v 1.1 2010/04/01 05:08:57 iluxa Exp $
52
53 EAPI=1
54
55 inherit cmake-utils
56
57 IUSE="fltk odbc doc sqlite excel postgres aspell mysql gnutls"
58
59 DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
60 SRC_URI="http://www.sptk.net/sptk-${PV}.tbz2"
61 HOMEPAGE="http://www.sptk.net"
62
63 SLOT="4"
64 LICENSE="BSD"
65 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
66
67 RDEPEND="fltk? ( >=x11-libs/fltk-1.1.6:1.1 )
68 odbc? ( >=dev-db/unixODBC-2.2.6 )
69 sqlite? ( >=dev-db/sqlite-3 )
70 postgres? ( >=virtual/postgresql-base-8.0 )
71 mysql? ( virtual/mysql )
72 aspell? ( >=app-text/aspell-0.50 )
73 gnutls? ( net-libs/gnutls )"
74
75 DEPEND="${RDEPEND}
76 doc? ( app-doc/doxygen )"
77
78 CMAKE_IN_SOURCE_BUILD=1
79
80 src_compile() {
81 local mycmakeargs="$(cmake-utils_use_no postgres POSTGRESQL)
82 $(cmake-utils_use_no mysql MYSQL)
83 $(cmake-utils_use_no sqlite SQLITE3)
84 $(cmake-utils_use_no odbc ODBC)
85 $(cmake-utils_use_no aspell ASPELL)
86 $(cmake-utils_use_no fltk FLTK)
87 $(cmake-utils_use_no excel EXCEL)
88 $(cmake-utils_use_no gnutls TLS)"
89
90 mycmakeargs="${mycmakeargs} -D CMAKE_INSTALL_PREFIX:PATH=/usr -D LIBDIR=$(get_libdir) ${SPTK_OPTIONS} -DNO_EXAMPLES:BOOLEAN=TRUE"
91
92 cmake-utils_src_configure
93
94 cmake-utils_src_compile
95 if use doc; then
96 cd "${S}"
97 einfo "Fixing sptk3.doxygen"
98 sed -i -e 's,/cvs/sptk3/,,g' sptk3.doxygen
99 einfo "Building docs"
100 doxygen sptk3.doxygen
101 fi
102
103 }
104
105 src_install () {
106
107 DOCS="README AUTHORS"
108 cmake-utils_src_install
109
110 dodir /usr/share/doc/${PF}
111 cp -r "${S}"/docs/* "${D}"/usr/share/doc/${PF}
112 if use doc; then
113 rm -fr "${D}/usr/share/doc/${PF}/latex"
114 cp -rf "${S}/pictures" "${D}/usr/share/doc/${PF}"
115 fi
116 [ -f mv "${D}/usr/bin/sql2cpp.pl" ] && mv "${D}/usr/bin/sql2cpp.pl" "${D}/usr/bin/sql2cpp"
117 }