summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-07-20 15:01:01 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-07-20 15:01:01 +0000
commit2cf30174e9075fc12989daae37a34545accbc945 (patch)
treebca7dc2b5f7474f9dcd10690d7c71fadb60842e0 /x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild
parentnew code editing widget for gtk (diff)
downloadgentoo-2-2cf30174e9075fc12989daae37a34545accbc945.tar.gz
gentoo-2-2cf30174e9075fc12989daae37a34545accbc945.tar.bz2
gentoo-2-2cf30174e9075fc12989daae37a34545accbc945.zip
new code editing widget for gtk
Diffstat (limited to 'x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild')
-rw-r--r--x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild b/x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild
new file mode 100644
index 000000000000..9a3a2175b8e7
--- /dev/null
+++ b/x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkscintilla2/gtkscintilla2-0.0.8.ebuild,v 1.1 2003/07/20 15:00:39 liquidx Exp $
+
+MY_P="GtkScintilla2-${PV}"
+DESCRIPTION="Gtk-2 wrappers for the Scintilla source editing components."
+HOMEPAGE="http://www.gphpedit.org/"
+SRC_URI="http://gphpedit.org/releases/${MY_P}.tar.gz"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+
+RDEPEND=">=x11-libs/gtk+-2.0"
+
+DEPEND=">=dev-util/pkgconfig-0.12.0
+ >=dev-lang/python-2.2
+ ${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ # some quick touches to the Makefile, bump the version
+ # and make use of our CFLAGS
+ cp Makefile Makefile.orig
+ sed -e "/VERSION/s,0.0.3,${PV}," \
+ -e "/CFLAGS/s,-g,${CFLAGS}," < Makefile.orig > Makefile
+
+ # and again, in the scintilla part
+ cd ${S}/scintilla/gtk
+ cp makefile makefile.orig
+ sed -e "/CXXFLAGS/s,-Os,${CFLAGS}," < makefile.orig > makefile
+
+}
+
+src_compile() {
+
+ emake || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+ dodoc COPYING README
+
+}