diff options
-rw-r--r-- | dev-cpp/sptk/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/sptk/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/sptk/sptk-3.5.7.10.ebuild | 76 |
3 files changed, 84 insertions, 2 deletions
diff --git a/dev-cpp/sptk/ChangeLog b/dev-cpp/sptk/ChangeLog index f98b5e69f625..969e93b2b21e 100644 --- a/dev-cpp/sptk/ChangeLog +++ b/dev-cpp/sptk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/sptk # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.30 2008/03/17 05:13:39 ricmm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.31 2008/05/06 05:01:52 iluxa Exp $ + + 06 May 2008; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> + +sptk-3.5.7.10.ebuild: + Add SPTK-3.5.7.10 17 Mar 2008; <ricmm@gentoo.org> sptk-3.2.6.ebuild: Drop to ~mips due to unstable deps diff --git a/dev-cpp/sptk/Manifest b/dev-cpp/sptk/Manifest index 8a02bc157fcc..3cac3174a5f1 100644 --- a/dev-cpp/sptk/Manifest +++ b/dev-cpp/sptk/Manifest @@ -3,10 +3,12 @@ DIST sptk-3.0.6.tbz2 3752502 RMD160 c46de6e07851931b4d9f94c00e4c37070d782b9d SHA DIST sptk-3.2.6.tbz2 4504271 RMD160 79a73adbc8bb809820f4c9ae222595ddaf7b2330 SHA1 68bfe42a4a0cb254e682d193a37578126baf2c08 SHA256 def97d661e836ddf23223bf280abca553c49d9f8cb5086a2b96355b1d3575f2b DIST sptk-3.5.6.tbz2 4247559 RMD160 67557b456779e0d58fef1ae44d8d3b1167139ce1 SHA1 38396e7bb4c0bce19ebd75b4c9338fe6f16c0426 SHA256 5cb9e42d3cb9fd5b038d3be73aa114310d86f93c759e8230e085e08612cf6523 DIST sptk-3.5.7.05.tbz2 4319813 RMD160 a33bf2a592f0705779dc2d27577750884a117031 SHA1 da6fb34bef2f61fcb3e4acbb21f75e42e2622110 SHA256 1277b7995bdd9cc2e3cafc8764078e0bc243995a9484386e2b3ea76c6240d5cd +DIST sptk-3.5.7.10.tbz2 4339604 RMD160 cb98769a7f7f537db8884265768e4dfa1b3963e9 SHA1 13f06cf146da65574b6647e9adc7b1f700c1dd4e SHA256 54cfc0957b922cb9d6e30064efcc09c0e4818959f8d3be4520c20efcf6bcccf8 EBUILD sptk-2.3.28.ebuild 1103 RMD160 879aac24fac01985accae678def56562e21e1d04 SHA1 b3c5dac74b051292e82284d99a58c8501ed11e42 SHA256 59cce596abafcfc7f301320851851d7d13bab2dfa19c5f970c86bab5573557f8 EBUILD sptk-3.0.6.ebuild 1415 RMD160 7328e099091235019d46d519b47c7d6edb137fe5 SHA1 8b056550e5c3d32b0f89e12ed223db8808600613 SHA256 0a0eba7de09903d323f890d43752a73e45df622e124e3d02085d8c3b1f4d9502 EBUILD sptk-3.2.6.ebuild 1440 RMD160 2bfc3d527e6e1a9f88c99d277f763c74e5c17f46 SHA1 c7282355aa2a531b038b92144758af0d9532ff6c SHA256 5be502d95474c72783f747451321eb64bb5add6c2b418ec266dae660935d92a5 EBUILD sptk-3.5.6.ebuild 1866 RMD160 8d026e7d1e5a640ae5a271093f2b6ae4a6e47c31 SHA1 1d57ffb0917a634f7f5b856c8b55fe61ae2da9bb SHA256 f22c49c31205968a1e21febcb4dfcd9a7ca31ec64890df5c621dee367eb53599 EBUILD sptk-3.5.7.05.ebuild 1869 RMD160 47444dc71639374ead9524504224422c3daba17c SHA1 e1260078d5d30b7a9fe725657a676610dfc66e9c SHA256 c290681557c8198f05ff877fd689feab81659fc6806801d317f513b752e943b5 -MISC ChangeLog 4546 RMD160 5c26c7454c941552860d0062dfcaf8f2882cc7cf SHA1 66ee011950f06fa240638f1ee62c7f3aa43e6e96 SHA256 b010607f1e725aad744d37006bdffff88b983c8b655b0b1ced6150c0252a03ad +EBUILD sptk-3.5.7.10.ebuild 1869 RMD160 3ed1dab6b4f5be625e20bb7e9adca5f268782952 SHA1 115458824b42e808e9a3d89007c76c956af140ea SHA256 9848b9284834fdad66b7d5fcbdcb3d732feef6e1090c02623a37d386d049b81a +MISC ChangeLog 4652 RMD160 3a07e4c02bd4e6a4afb5a9088ec18acd51fbb676 SHA1 d2ab33c611dde999a3c6506f5d707de72c9e7ccf SHA256 d7b4b2ee0b90982872f02160dd57c3295abd137f7316a1743c39e58a1df2df39 MISC metadata.xml 327 RMD160 d3557f0313200e2c32b36b77f449b4512e358ea3 SHA1 343786140387406483889098c028157579237526 SHA256 30dfaf35f7cc85073dd57488deb5a60bebfae60615c153e2f9daece72c3efb61 diff --git a/dev-cpp/sptk/sptk-3.5.7.10.ebuild b/dev-cpp/sptk/sptk-3.5.7.10.ebuild new file mode 100644 index 000000000000..f317d0ef3d15 --- /dev/null +++ b/dev-cpp/sptk/sptk-3.5.7.10.ebuild @@ -0,0 +1,76 @@ +# Copyright 2006-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-3.5.7.10.ebuild,v 1.1 2008/05/06 05:01:52 iluxa Exp $ + +inherit eutils flag-o-matic autotools + +IUSE="fltk odbc doc sqlite3 excel postgres aspell" + +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="|| ( BSD )" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" + +DEPEND="dev-util/cmake + fltk? ( >=x11-libs/fltk-1.1.6 ) + odbc? ( >=dev-db/unixODBC-2.2.6 ) + sqlite3? ( >=dev-db/sqlite-3 ) + postgres? ( >=dev-db/libpq-8.0 ) + aspell? ( >=app-text/aspell-0.50 ) + doc? ( app-doc/doxygen )" + +check_use() { + if use ${1}; then + SPTK_OPTIONS="${SPTK_OPTIONS} -DNO_${2}:BOOLEAN=FALSE" + else + SPTK_OPTIONS="${SPTK_OPTIONS} -DNO_${2}:BOOLEAN=TRUE" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + check_use examples EXAMPLES + check_use postgres POSTGRESQL + check_use sqlite3 SQLITE3 + check_use odbc ODBC + check_use aspell ASPELL + check_use fltk FLTK + check_use excel EXCEL + + sed -r -i -e 's|SET \(LIBRARY_TYPE STATIC\)|SET \(LIBRARY_TYPE SHARED\)|' src/CMakeLists.txt + + cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr ${SPTK_OPTIONS} . || die "Configuration Failed" +} + +src_compile() { + + 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 -rf "${S}/pictures" "${D}/usr/share/doc/${PF}" + fi +} |