diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2010-04-01 05:08:57 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2010-04-01 05:08:57 +0000 |
commit | 886c827c21e396f8336d5c920e0fcd7a882296b1 (patch) | |
tree | 13cde5a920af90b1212038e7647467552011a7ec | |
parent | Fixed doexe lines wrt bug #309483. Removed older version (diff) | |
download | gentoo-2-886c827c21e396f8336d5c920e0fcd7a882296b1.tar.gz gentoo-2-886c827c21e396f8336d5c920e0fcd7a882296b1.tar.bz2 gentoo-2-886c827c21e396f8336d5c920e0fcd7a882296b1.zip |
- Verbump SPTK to 4.02
- Make sure sql2cpp is installed under correct name
(Portage version: 2.1.7.17/cvs/Linux x86_64)
-rw-r--r-- | dev-cpp/sptk/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/sptk/sptk-4.02.ebuild | 69 |
2 files changed, 76 insertions, 1 deletions
diff --git a/dev-cpp/sptk/ChangeLog b/dev-cpp/sptk/ChangeLog index 99cf940d880c..bea859ddbe65 100644 --- a/dev-cpp/sptk/ChangeLog +++ b/dev-cpp/sptk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/sptk # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.67 2010/01/19 10:59:24 iluxa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.68 2010/04/01 05:08:57 iluxa Exp $ + +*sptk-4.02 (01 Apr 2010) + + 01 Apr 2010; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> + +sptk-4.02.ebuild: + Verbump SPTK to 4.02. Make sure sql2cpp is installed under correct name. *sptk-4.00 (19 Jan 2010) diff --git a/dev-cpp/sptk/sptk-4.02.ebuild b/dev-cpp/sptk/sptk-4.02.ebuild new file mode 100644 index 000000000000..2a520c5fbeec --- /dev/null +++ b/dev-cpp/sptk/sptk-4.02.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-4.02.ebuild,v 1.1 2010/04/01 05:08:57 iluxa Exp $ + +EAPI=1 + +inherit cmake-utils + +IUSE="fltk odbc doc sqlite excel postgres aspell mysql gnutls" + +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="4" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" + +RDEPEND="fltk? ( >=x11-libs/fltk-1.1.6:1.1 ) + odbc? ( >=dev-db/unixODBC-2.2.6 ) + sqlite? ( >=dev-db/sqlite-3 ) + postgres? ( >=virtual/postgresql-base-8.0 ) + mysql? ( virtual/mysql ) + aspell? ( >=app-text/aspell-0.50 ) + gnutls? ( net-libs/gnutls )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +CMAKE_IN_SOURCE_BUILD=1 + +src_compile() { + local mycmakeargs="$(cmake-utils_use_no postgres POSTGRESQL) + $(cmake-utils_use_no mysql MYSQL) + $(cmake-utils_use_no sqlite SQLITE3) + $(cmake-utils_use_no odbc ODBC) + $(cmake-utils_use_no aspell ASPELL) + $(cmake-utils_use_no fltk FLTK) + $(cmake-utils_use_no excel EXCEL) + $(cmake-utils_use_no gnutls TLS)" + + mycmakeargs="${mycmakeargs} -D CMAKE_INSTALL_PREFIX:PATH=/usr -D LIBDIR=$(get_libdir) ${SPTK_OPTIONS} -DNO_EXAMPLES:BOOLEAN=TRUE" + + cmake-utils_src_configure + + cmake-utils_src_compile + 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 () { + + DOCS="README AUTHORS" + cmake-utils_src_install + + 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 + [ -f mv "${D}/usr/bin/sql2cpp.pl" ] && mv "${D}/usr/bin/sql2cpp.pl" "${D}/usr/bin/sql2cpp" +} |