diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2007-03-13 07:18:28 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2007-03-13 07:18:28 +0000 |
commit | bdf675d29ac0812a180991718ea958ee00edc684 (patch) | |
tree | 57f9ec88363b896b30bdbc4d639dd77477549eed /dev-cpp | |
parent | stable x86, bug 170650 (diff) | |
download | gentoo-2-bdf675d29ac0812a180991718ea958ee00edc684.tar.gz gentoo-2-bdf675d29ac0812a180991718ea958ee00edc684.tar.bz2 gentoo-2-bdf675d29ac0812a180991718ea958ee00edc684.zip |
added SPTK-3.4.0 ebuild
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/sptk/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/sptk/files/digest-sptk-3.4.0 | 3 | ||||
-rw-r--r-- | dev-cpp/sptk/sptk-3.4.0.ebuild | 66 |
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-cpp/sptk/ChangeLog b/dev-cpp/sptk/ChangeLog index ceac391b6467..0093d51c673d 100644 --- a/dev-cpp/sptk/ChangeLog +++ b/dev-cpp/sptk/ChangeLog @@ -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 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 index 000000000000..a89d6bf0af0f --- /dev/null +++ b/dev-cpp/sptk/files/digest-sptk-3.4.0 @@ -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 index 000000000000..b88c28150aac --- /dev/null +++ b/dev-cpp/sptk/sptk-3.4.0.ebuild @@ -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 +} |