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