summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-08-14 00:52:06 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-08-14 00:52:06 +0000
commit722085a53db3464bf61124a0a620a8dd87371cfc (patch)
tree1c453594650ed40b1319e53f9070493c57d8a2ee /app-admin/moodss
parentstable x86, bug 280464 (diff)
downloadgentoo-2-722085a53db3464bf61124a0a620a8dd87371cfc.tar.gz
gentoo-2-722085a53db3464bf61124a0a620a8dd87371cfc.tar.bz2
gentoo-2-722085a53db3464bf61124a0a620a8dd87371cfc.zip
port to EAPI 2
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-admin/moodss')
-rw-r--r--app-admin/moodss/ChangeLog7
-rw-r--r--app-admin/moodss/moodss-21.5.ebuild21
2 files changed, 11 insertions, 17 deletions
diff --git a/app-admin/moodss/ChangeLog b/app-admin/moodss/ChangeLog
index 93b579483c3d..bc72ad3b80d0 100644
--- a/app-admin/moodss/ChangeLog
+++ b/app-admin/moodss/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/moodss
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/moodss/ChangeLog,v 1.13 2008/02/25 22:36:09 wolf31o2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/moodss/ChangeLog,v 1.14 2009/08/14 00:52:06 fauli Exp $
+
+ 14 Aug 2009; Christian Faulhammer <fauli@gentoo.org> moodss-21.5.ebuild:
+ port to EAPI 2
25 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> moodss-20.0.ebuild,
moodss-20.2.ebuild:
diff --git a/app-admin/moodss/moodss-21.5.ebuild b/app-admin/moodss/moodss-21.5.ebuild
index 283d121a31ed..47159c4dad52 100644
--- a/app-admin/moodss/moodss-21.5.ebuild
+++ b/app-admin/moodss/moodss-21.5.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/moodss/moodss-21.5.ebuild,v 1.1 2007/04/28 02:54:19 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/moodss/moodss-21.5.ebuild,v 1.2 2009/08/14 00:52:06 fauli Exp $
+
+EAPI=2
inherit eutils multilib
@@ -13,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="mysql perl python"
-DEPEND=">=dev-lang/tcl-8.4"
+DEPEND=">=dev-lang/tcl-8.4[threads]"
RDEPEND="${DEPEND}
>=dev-lang/tk-8.4
@@ -31,18 +33,7 @@ RDEPEND="${DEPEND}
# sqlite? ( >=dev-db/sqlite-tcl-2.8.6 )
# odbc? ( dev-tcltk/tclodbc )
-pkg_setup() {
- if ! built_with_use dev-lang/tcl threads ; then
- eerror "Tcl is missing threads support."
- eerror "Please add 'threads' to your USE flags, and re-emerge tcl."
- die "tcl needs threads support"
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
+src_prepare() {
sed -i -e 's:%_datadir:/usr/share:' \
-e 's:%_bindir:/usr/bin:' ${PN}.desktop || die
sed -i -e "s:/usr/lib:/usr/$(get_libdir):" Makefile || die