added SPTK-3.4.0 ebuild
authorIlya Volynets <iluxa@gentoo.org>
Tue, 13 Mar 2007 07:18:28 +0000 (07:18 +0000)
committerIlya Volynets <iluxa@gentoo.org>
Tue, 13 Mar 2007 07:18:28 +0000 (07:18 +0000)
Package-Manager: portage-2.1.2.2

dev-cpp/sptk/ChangeLog
dev-cpp/sptk/Manifest
dev-cpp/sptk/files/digest-sptk-3.4.0 [new file with mode: 0644]
dev-cpp/sptk/sptk-3.4.0.ebuild [new file with mode: 0644]

index ceac391b6467203add066d19503d34e176cc9fad..0093d51c673d189e5b7e72ea1aaba86cd4edd103 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-cpp/sptk
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.21 2007/03/12 16:03:31 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.22 2007/03/13 07:18:28 iluxa Exp $
+
+*sptk-3.4.0 (13 Mar 2007)
+
+  13 Mar 2007; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org>
+  +sptk-3.4.0.ebuild:
+  Add sptk-3.4.0 ebuild
 
   12 Mar 2007; Raúl Porcel <armin76@gentoo.org> sptk-3.2.6.ebuild:
   x86 stable
index c5790bd6042de78ed456ff1ae8b2ab3bc1d8c33b..c375b030ca036c416f277f6a6bd9c7460b0dafeb 100644 (file)
@@ -5,6 +5,7 @@ DIST sptk-3.0.19.tbz2 3625706 RMD160 87253ea087d13ce9c58cda1e79b8618bc96d6509 SH
 DIST sptk-3.0.6.tbz2 3752502 RMD160 c46de6e07851931b4d9f94c00e4c37070d782b9d SHA1 5c956d579d360690509c12347a07db216bb72a02 SHA256 5a85c8eb630d3577df30be1e633b1638230f95e81b954be339b91be2ce286cfe
 DIST sptk-3.1.4.tbz2 3652133 RMD160 5a973141d50bc4f6fee7f66b5cef640d9d370fd2 SHA1 7e5e468bdfb4b300456bcb36e3e61486d8be2331 SHA256 6083ed8fdf54bbdfb7fb4d9c91e341467efd8c1eb41754c58571746eb5e11d32
 DIST sptk-3.2.6.tbz2 4504271 RMD160 79a73adbc8bb809820f4c9ae222595ddaf7b2330 SHA1 68bfe42a4a0cb254e682d193a37578126baf2c08 SHA256 def97d661e836ddf23223bf280abca553c49d9f8cb5086a2b96355b1d3575f2b
+DIST sptk-3.4.0.tbz2 5027128 RMD160 53bd6fcab5a9329e12880828cccec0a7353e166e SHA1 e9e4b80f38ec391966cd8105d80898d46ed7b258 SHA256 54690480169584927243801951386848480518db02b669b173aba15e1dd22afb
 EBUILD sptk-2.3.28.ebuild 1092 RMD160 12869c985a3e03fa0add2ce13517d78ec354393a SHA1 9d64e184c243ff3addcae8a3f988be23bca5e8a2 SHA256 100a582cc10881f1be9c4d7795a31a278b779907d157ce703d93a168b3e99bb1
 MD5 b5cd9d1217f0d957c3926185dd0fe4b2 sptk-2.3.28.ebuild 1092
 RMD160 12869c985a3e03fa0add2ce13517d78ec354393a sptk-2.3.28.ebuild 1092
@@ -33,10 +34,14 @@ EBUILD sptk-3.2.6.ebuild 1431 RMD160 0d682e1175c5cfc56252a15805f419b17b187a1a SH
 MD5 2655f77f245c61c8c63e49b1c8d896c2 sptk-3.2.6.ebuild 1431
 RMD160 0d682e1175c5cfc56252a15805f419b17b187a1a sptk-3.2.6.ebuild 1431
 SHA256 a1e9c9116abca33e2054c27d39d76f968581b60905df01e5bb5a7e2bf3b869bc sptk-3.2.6.ebuild 1431
-MISC ChangeLog 3232 RMD160 15cd8776e48478f17c86cb94ad650262e6bab0d8 SHA1 749e67c295b074b42ee229e874f3233e867894b1 SHA256 e1ed1107144ab0f941b46f95b67e8e86085f2b32a49b3a2bb4439bca90d6b3d4
-MD5 4e7fe34137512a01a3345e18db5af3ba ChangeLog 3232
-RMD160 15cd8776e48478f17c86cb94ad650262e6bab0d8 ChangeLog 3232
-SHA256 e1ed1107144ab0f941b46f95b67e8e86085f2b32a49b3a2bb4439bca90d6b3d4 ChangeLog 3232
+EBUILD sptk-3.4.0.ebuild 1432 RMD160 b760443c33c02dc24620ab99a083a3582f4ae88a SHA1 6e7b9db31a6652b1f4fa1ca3e5d73b774f11d59e SHA256 ba086963c0a5aad86e3ae725932f886e03723997ffab17d9fed777006eba5df2
+MD5 4718fa4ff9779dcbab34475295e15c1f sptk-3.4.0.ebuild 1432
+RMD160 b760443c33c02dc24620ab99a083a3582f4ae88a sptk-3.4.0.ebuild 1432
+SHA256 ba086963c0a5aad86e3ae725932f886e03723997ffab17d9fed777006eba5df2 sptk-3.4.0.ebuild 1432
+MISC ChangeLog 3364 RMD160 f4f2392af2a252daef6d916e1b9abf884881cab1 SHA1 9b18e44e0da8aea148b68bc9258800b89e876cfd SHA256 4942598e78ec0f8204b651e21cf712e2e4be9f9b088c2257c37882719c256750
+MD5 15b7b1212e9fddb9a1b084d39434265c ChangeLog 3364
+RMD160 f4f2392af2a252daef6d916e1b9abf884881cab1 ChangeLog 3364
+SHA256 4942598e78ec0f8204b651e21cf712e2e4be9f9b088c2257c37882719c256750 ChangeLog 3364
 MISC metadata.xml 327 RMD160 d3557f0313200e2c32b36b77f449b4512e358ea3 SHA1 343786140387406483889098c028157579237526 SHA256 30dfaf35f7cc85073dd57488deb5a60bebfae60615c153e2f9daece72c3efb61
 MD5 fc6a5133fe3e425604dc66e248cb478c metadata.xml 327
 RMD160 d3557f0313200e2c32b36b77f449b4512e358ea3 metadata.xml 327
@@ -62,3 +67,6 @@ SHA256 0d3f9eddc7880517573057949946076eb033b28ff70489e567c1a7d57b3a9cab files/di
 MD5 6de70e27dcedb8da2762c94c7346d427 files/digest-sptk-3.2.6 229
 RMD160 0ce7c79b73dee066a083c3a22ca7e15cecaf677e files/digest-sptk-3.2.6 229
 SHA256 b9f6fa22d14cf2bfdc7afbd77f7e29f1b14df4a6679fb1b389bfc5133edda007 files/digest-sptk-3.2.6 229
+MD5 7e04455249004b4947efe5bd5362875f files/digest-sptk-3.4.0 229
+RMD160 09879ae2b83a9888d1975ec0123964d118648b66 files/digest-sptk-3.4.0 229
+SHA256 9820055aa5277fdbd24e3f205e280be351b4261e332c62076b42cbbdd97317ae files/digest-sptk-3.4.0 229
diff --git a/dev-cpp/sptk/files/digest-sptk-3.4.0 b/dev-cpp/sptk/files/digest-sptk-3.4.0
new file mode 100644 (file)
index 0000000..a89d6bf
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 9efa39d9112ee507f6faba0b7589b4ec sptk-3.4.0.tbz2 5027128
+RMD160 53bd6fcab5a9329e12880828cccec0a7353e166e sptk-3.4.0.tbz2 5027128
+SHA256 54690480169584927243801951386848480518db02b669b173aba15e1dd22afb sptk-3.4.0.tbz2 5027128
diff --git a/dev-cpp/sptk/sptk-3.4.0.ebuild b/dev-cpp/sptk/sptk-3.4.0.ebuild
new file mode 100644 (file)
index 0000000..b88c281
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 2006-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-3.4.0.ebuild,v 1.1 2007/03/13 07:18:28 iluxa Exp $
+
+inherit autotools
+
+IUSE="fltk odbc doc sqlite3 excel"
+
+DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
+SRC_URI="http://www.sptk.net/sptk-${PV}.tbz2"
+HOMEPAGE="http://www.sptk.net"
+
+SLOT="3"
+LICENSE="|| ( FLTK GPL-2 )"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+DEPEND="fltk? ( x11-libs/fltk )
+       odbc? ( >=dev-db/unixODBC-2.2.6 )
+       sqlite3? ( >=dev-db/sqlite-3 )
+       doc? ( app-doc/doxygen )"
+
+src_unpack() {
+       unpack "${A}"
+       cd "${S}"
+       # This fixes double ./configure run
+       eautoreconf
+}
+
+src_compile() {
+
+       local myconf
+       myconf="--enable-shared"
+
+       econf \
+               --prefix=/usr \
+               `use_enable odbc` \
+               `use_enable fltk` \
+               `use_enable sqlite3` \
+               `use_enable excel` \
+               ${myconf} || die "Configuration Failed"
+
+       emake || die "Parallel Make Failed"
+
+       if use doc; then
+               cd "${S}"
+               einfo "Fixing sptk3.doxygen"
+               sed -i -e 's,/cvs/sptk3/,,g' sptk3.doxygen
+               einfo "Building docs"
+               doxygen sptk3.doxygen
+       fi
+
+}
+
+src_install () {
+
+       make DESTDIR=${D} install || die "Installation failed"
+
+       dodoc README AUTHORS
+
+       dodir /usr/share/doc/${PF}
+       cp -r ${S}/docs/* ${D}/usr/share/doc/${PF}
+       if use doc; then
+               rm -fr ${D}/usr/share/doc/${PF}/latex
+               cp -r ${S}/pictures ${D}/usr/share/doc/${PF}
+       fi
+}