Add latest sptk ebuild
authorIlya Volynets <iluxa@gentoo.org>
Sun, 28 Nov 2004 21:44:09 +0000 (21:44 +0000)
committerIlya Volynets <iluxa@gentoo.org>
Sun, 28 Nov 2004 21:44:09 +0000 (21:44 +0000)
dev-cpp/sptk/ChangeLog
dev-cpp/sptk/Manifest
dev-cpp/sptk/files/digest-sptk-2.3.16 [new file with mode: 0644]
dev-cpp/sptk/sptk-2.3.16.ebuild [new file with mode: 0644]

index 2932a38e046b094afb0b7fe91a9268f7724ded2e..7088620aefca675f4a9f759fcd0760df76f8dcfc 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-cpp/sptk
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.4 2004/11/08 21:54:41 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.5 2004/11/28 21:44:09 iluxa Exp $
+
+*sptk-2.3.16 (28 Nov 2004)
+
+  28 Nov 2004; Ilya A. Volynets-Evenbach <iluxa@gentoo.org>
+  +sptk-2.3.16.ebuild:
+  Add sptk 2.3.16 (By Alexey Parshin <alexeyp@tts-sf.com>)
 
   08 Nov 2004; Bryan Ã˜stergaard <kloeri@gentoo.org> sptk-2.2.1.ebuild,
   sptk-2.2.ebuild:
index 67e4511b6ceb3a826e548b64aae9de75a09b68a3..66c1f012a06f2375ac17919f4e7ca2c6ac122723 100644 (file)
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a14ea70026f828e8510de801d092e6b2 ChangeLog 1113
-MD5 623669b964009bb2a2adfc367f12d072 metadata.xml 334
+MD5 5a32537c6e543b2746a97312ab38d4ef sptk-2.3.16.ebuild 1086
 MD5 27793e9f85264bac1dc0a43adc3daf8f sptk-2.2.ebuild 1086
 MD5 707572a6dc747e2175751580e7a3db78 sptk-2.2.1.ebuild 1094
+MD5 435c0efb4e88237349b8cc2a4424d1f8 ChangeLog 1283
+MD5 623669b964009bb2a2adfc367f12d072 metadata.xml 334
+MD5 57e9f89edc425e694c858182f785d30e files/digest-sptk-2.3.16 62
 MD5 005ad61b10481108e76f80f21470a05d files/digest-sptk-2.2.1 60
 MD5 ca482c4334f36836fb9377c2009ce95f files/digest-sptk-2.2 58
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBj+svugEuf3OQ0akRAq6SAKCIM5SiGaIDbhrelJfodfw6RfVCeACcDhg2
-PNGBUsm4vZx96O9xgzi3zJM=
-=iCdn
------END PGP SIGNATURE-----
diff --git a/dev-cpp/sptk/files/digest-sptk-2.3.16 b/dev-cpp/sptk/files/digest-sptk-2.3.16
new file mode 100644 (file)
index 0000000..556e34c
--- /dev/null
@@ -0,0 +1 @@
+MD5 f6084cb6ddf06c3a4eb6d68fd9b43696 sptk-2.3.16.tbz2 3188068
diff --git a/dev-cpp/sptk/sptk-2.3.16.ebuild b/dev-cpp/sptk/sptk-2.3.16.ebuild
new file mode 100644 (file)
index 0000000..f9de0ce
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 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.1 2004/11/28 21:44:09 iluxa 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
+}