New version - 3.0.6, removed old versions.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Fri, 4 Nov 2005 12:04:28 +0000 (12:04 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Fri, 4 Nov 2005 12:04:28 +0000 (12:04 +0000)
Package-Manager: portage-2.0.53_rc7

dev-cpp/sptk/ChangeLog
dev-cpp/sptk/Manifest
dev-cpp/sptk/files/digest-sptk-2.2 [deleted file]
dev-cpp/sptk/files/digest-sptk-2.2.1 [deleted file]
dev-cpp/sptk/files/digest-sptk-2.3.16 [deleted file]
dev-cpp/sptk/files/digest-sptk-3.0.6 [new file with mode: 0644]
dev-cpp/sptk/sptk-2.2.1.ebuild [deleted file]
dev-cpp/sptk/sptk-2.2.ebuild [deleted file]
dev-cpp/sptk/sptk-2.3.16.ebuild [deleted file]
dev-cpp/sptk/sptk-3.0.6.ebuild [new file with mode: 0644]

index 0a2e664027fd494092c16b2ced588c6c4d4433d5..f92c75219cf8b4045092f46af8fbbac95d4083b6 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-cpp/sptk
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.9 2005/11/04 11:21:50 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.10 2005/11/04 12:04:28 nelchael Exp $
+
+*sptk-3.0.6 (04 Nov 2005)
+
+  04 Nov 2005; Krzysiek Pawlik <nelchael@gentoo.org> -sptk-2.2.ebuild,
+  -sptk-2.2.1.ebuild, -sptk-2.3.16.ebuild, +sptk-3.0.6.ebuild:
+  New version - 3.0.6, removed old versions.
 
   04 Nov 2005; Krzysiek Pawlik <nelchael@gentoo.org> sptk-2.3.28.ebuild:
   Fixed dodoc not to install COPYING and/or INSTALL.
index 8f538bd28b7d0cf0a996b565ce67d8c567423c5a..f9c35800919286ae49d1154be2d370599c093a69 100644 (file)
@@ -1,10 +1,6 @@
-MD5 abeab9872d5e6d4c042a8bfec1bfebf0 ChangeLog 1644
-MD5 ca482c4334f36836fb9377c2009ce95f files/digest-sptk-2.2 58
-MD5 005ad61b10481108e76f80f21470a05d files/digest-sptk-2.2.1 60
-MD5 57e9f89edc425e694c858182f785d30e files/digest-sptk-2.3.16 62
+MD5 cda7c8f394cdf6312582363266ed68af ChangeLog 1852
 MD5 c1961e9d1e8c7ce2861b6a9f9da08038 files/digest-sptk-2.3.28 62
+MD5 9d6f57f2f01a7c0acbaba21baffa4982 files/digest-sptk-3.0.6 61
 MD5 623669b964009bb2a2adfc367f12d072 metadata.xml 334
-MD5 3daeae05c3da8fe1c02b22ed3ea6d7ff sptk-2.2.1.ebuild 1098
-MD5 1252e5d82f4a3fc914589f63e37200e7 sptk-2.2.ebuild 1090
-MD5 04d1844a1ea2fa3cf07d159fb0a7b1f5 sptk-2.3.16.ebuild 1091
 MD5 7ab0341aaa4a4994225d38b98051d424 sptk-2.3.28.ebuild 1093
+MD5 954ae150ba200ce2de4d986855b49667 sptk-3.0.6.ebuild 1409
diff --git a/dev-cpp/sptk/files/digest-sptk-2.2 b/dev-cpp/sptk/files/digest-sptk-2.2
deleted file mode 100644 (file)
index bb92328..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5060f553c2bb0ec36683043437eb5966 sptk-2.2.tgz 4731181
diff --git a/dev-cpp/sptk/files/digest-sptk-2.2.1 b/dev-cpp/sptk/files/digest-sptk-2.2.1
deleted file mode 100644 (file)
index bf78e8f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2a4391bf66217cfcbfad3acce45d0088 sptk-2.2.1.tgz 3634334
diff --git a/dev-cpp/sptk/files/digest-sptk-2.3.16 b/dev-cpp/sptk/files/digest-sptk-2.3.16
deleted file mode 100644 (file)
index 556e34c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f6084cb6ddf06c3a4eb6d68fd9b43696 sptk-2.3.16.tbz2 3188068
diff --git a/dev-cpp/sptk/files/digest-sptk-3.0.6 b/dev-cpp/sptk/files/digest-sptk-3.0.6
new file mode 100644 (file)
index 0000000..9aa9112
--- /dev/null
@@ -0,0 +1 @@
+MD5 fb1750e060fc23ff63fa6ad064006b6b sptk-3.0.6.tbz2 3752502
diff --git a/dev-cpp/sptk/sptk-2.2.1.ebuild b/dev-cpp/sptk/sptk-2.2.1.ebuild
deleted file mode 100644 (file)
index 5b15282..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-2.2.1.ebuild,v 1.4 2005/01/01 17:30:03 eradicator Exp $
-
-IUSE="fltk odbc"
-
-DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
-SRC_URI="http://sptk.tts-sf.com/${P}.tgz"
-HOMEPAGE="http://sptk.tts-sf.com"
-
-SLOT="2"
-LICENSE="|| ( FLTK GPL-2 )"
-KEYWORDS="-* ~x86 ~sparc ~mips ~ppc ~alpha"
-
-DEPEND="fltk? ( x11-libs/fltk )
-       odbc? ( >=dev-db/unixODBC-2.2.8 )"
-
-src_compile() {
-
-       local myconf
-       myconf="--enable-shared"
-
-       use odbc || myconf="${myconf} --disable-odbc" #default enabled
-       use fltk || myconf="${myconf} --disable-fltk"
-
-       econf \
-               --prefix=/usr \
-               ${myconf} || die "Configuration Failed"
-
-       emake || die "Parallel Make Failed"
-}
-
-src_install () {
-
-       einstall \
-               includedir=${D}/usr/include/sptk \
-               libdir=${D}/usr/lib || die "Installation Failed"
-
-       dodoc CHANGES COPYING README
-
-       dodir /usr/share/doc/${PF}/html
-       mv ${D}/usr/share/doc/sptk/* ${D}/usr/share/doc/${PF}/html
-       rmdir ${D}/usr/share/doc/sptk
-}
diff --git a/dev-cpp/sptk/sptk-2.2.ebuild b/dev-cpp/sptk/sptk-2.2.ebuild
deleted file mode 100644 (file)
index 38b386c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-2.2.ebuild,v 1.3 2005/01/01 17:30:03 eradicator Exp $
-
-IUSE="fltk odbc"
-
-DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
-SRC_URI="http://sptk.tts-sf.com/sptk-${PV}.tgz"
-HOMEPAGE="http://sptk.tts-sf.com"
-
-SLOT="2"
-LICENSE="|| ( FLTK GPL-2 )"
-KEYWORDS="-* ~x86 ~sparc ~mips"
-
-DEPEND="fltk? ( x11-libs/fltk )
-       odbc? ( >=dev-db/unixODBC-2.2.8 )"
-
-src_compile() {
-
-       local myconf
-       myconf="--enable-shared"
-
-       use odbc || myconf="${myconf} --disable-odbc" #default enabled
-       use fltk || myconf="${myconf} --disable-fltk"
-
-       econf \
-               --prefix=/usr \
-               ${myconf} || die "Configuration Failed"
-
-       emake || die "Parallel Make Failed"
-}
-
-src_install () {
-
-       einstall \
-               includedir=${D}/usr/include/sptk \
-               libdir=${D}/usr/lib || die "Installation Failed"
-
-       dodoc CHANGES COPYING README
-
-       dodir /usr/share/doc/${PF}/html
-       mv ${D}/usr/share/doc/sptk/* ${D}/usr/share/doc/${PF}/html
-       rmdir ${D}/usr/share/doc/sptk
-}
diff --git a/dev-cpp/sptk/sptk-2.3.16.ebuild b/dev-cpp/sptk/sptk-2.3.16.ebuild
deleted file mode 100644 (file)
index 9af4456..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-2.3.16.ebuild,v 1.2 2005/01/01 17:30:03 eradicator Exp $
-
-IUSE="fltk odbc"
-
-DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
-SRC_URI="http://sptk.tts-sf.com/sptk-${PV}.tbz2"
-HOMEPAGE="http://sptk.tts-sf.com"
-
-SLOT="2"
-LICENSE="|| ( FLTK GPL-2 )"
-KEYWORDS="~x86 ~sparc ~mips"
-
-DEPEND="fltk? ( x11-libs/fltk )
-       odbc? ( >=dev-db/unixODBC-2.2.6 )"
-
-src_compile() {
-
-       local myconf
-       myconf="--enable-shared"
-
-       use odbc || myconf="${myconf} --disable-odbc" #default enabled
-       use fltk || myconf="${myconf} --disable-fltk"
-
-       econf \
-               --prefix=/usr \
-               ${myconf} || die "Configuration Failed"
-
-       emake || die "Parallel Make Failed"
-}
-
-src_install () {
-
-       einstall \
-               includedir=${D}/usr/include/sptk \
-               libdir=${D}/usr/lib || die "Installation Failed"
-
-       dodoc CHANGES COPYING README
-
-       dodir /usr/share/doc/${PF}/html
-       mv ${D}/usr/share/doc/sptk/* ${D}/usr/share/doc/${PF}/html
-       rmdir ${D}/usr/share/doc/sptk
-}
diff --git a/dev-cpp/sptk/sptk-3.0.6.ebuild b/dev-cpp/sptk/sptk-3.0.6.ebuild
new file mode 100644 (file)
index 0000000..2cf0032
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-3.0.6.ebuild,v 1.1 2005/11/04 12:04:28 nelchael Exp $
+
+inherit autotools
+
+IUSE="fltk odbc doc"
+
+DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
+SRC_URI="http://sptk.tts-sf.com/sptk-${PV}.tbz2"
+HOMEPAGE="http://sptk.tts-sf.com"
+
+SLOT="3"
+LICENSE="|| ( FLTK GPL-2 )"
+KEYWORDS="~x86 ~sparc ~mips ~amd64 ~ppc"
+
+DEPEND="fltk? ( x11-libs/fltk )
+       odbc? ( >=dev-db/unixODBC-2.2.6 )
+       doc? ( app-doc/doxygen )"
+
+src_unpack() {
+       unpack "${A}"
+       cd "${S}"
+       # This fixes double ./configure run
+       eautoreconf
+}
+
+src_compile() {
+
+       local myconf
+       myconf="--enable-shared"
+
+       use odbc || myconf="${myconf} --disable-odbc" #default enabled
+       use fltk || myconf="${myconf} --disable-fltk"
+
+       econf \
+               --prefix=/usr \
+               ${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
+
+}