summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-08-24 21:12:51 +0000
committerHarald van Dijk <truedfx@gentoo.org>2009-08-24 21:12:51 +0000
commit7d5b23c5bfb54e7d99d27df21c8f8d29be08b986 (patch)
treeabd685feb2fdab0248aca4a2d5d56d88a0c117d9 /app-editors/ted/ted-2.20.ebuild
parentVersion bump (diff)
downloadgentoo-2-7d5b23c5bfb54e7d99d27df21c8f8d29be08b986.tar.gz
gentoo-2-7d5b23c5bfb54e7d99d27df21c8f8d29be08b986.tar.bz2
gentoo-2-7d5b23c5bfb54e7d99d27df21c8f8d29be08b986.zip
Version bump (#281909)
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'app-editors/ted/ted-2.20.ebuild')
-rw-r--r--app-editors/ted/ted-2.20.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-editors/ted/ted-2.20.ebuild b/app-editors/ted/ted-2.20.ebuild
new file mode 100644
index 000000000000..e9d5afbb8bfc
--- /dev/null
+++ b/app-editors/ted/ted-2.20.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.20.ebuild,v 1.1 2009/08/24 21:12:51 truedfx Exp $
+
+EAPI=2
+
+DESCRIPTION="X-based rich text editor"
+HOMEPAGE="http://www.nllgg.nl/Ted"
+SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+
+ >=media-libs/tiff-3.5.7
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.2.3"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/Ted-${PV}"
+
+src_prepare() {
+ sed -i -e 's|/Ted/|/share/Ted/|' \
+ "${S}"/appFrame/appFrameConfig.h.in \
+ "${S}"/Ted/tedConfig.h.in || die
+ mkdir lib || die
+}
+
+src_configure() {
+ for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage
+ do
+ cd "${S}"/${dir}
+ econf --cache-file=../config.cache || die "configure ${dir} failed"
+ done
+}
+
+src_compile() {
+ emake package.shared || die "make package.shared failed"
+}
+
+src_install() {
+ cd "${S}"/tedPackage
+ RPM_BUILD_ROOT=${D} ./installTed.sh COMMON || die "install failed"
+
+ dodir /usr/share
+ mv "${D}"usr/Ted "${D}"usr/share/Ted
+}