* [gentoo-commits] gentoo-x86 commit in net-dialup/tkvoice: tkvoice-1.5.ebuild ChangeLog
@ 2012-09-05 8:05 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-09-05 8:05 UTC (permalink / raw
To: gentoo-commits
jlec 12/09/05 08:05:53
Modified: tkvoice-1.5.ebuild ChangeLog
Log:
Use domenu instead insinto + doins to install .desktop files
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Revision Changes Path
1.4 net-dialup/tkvoice/tkvoice-1.5.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild?r1=1.3&r2=1.4
Index: tkvoice-1.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tkvoice-1.5.ebuild 6 May 2007 08:16:05 -0000 1.3
+++ tkvoice-1.5.ebuild 5 Sep 2012 08:05:53 -0000 1.4
@@ -1,8 +1,12 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild,v 1.3 2007/05/06 08:16:05 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/tkvoice-1.5.ebuild,v 1.4 2012/09/05 08:05:53 jlec Exp $
-DESCRIPTION="TkVoice - Voice mail and Fax frontend program"
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Voice mail and Fax frontend program"
HOMEPAGE="http://tkvoice.netfirms.com"
SRC_URI="http://tkvoice.netfirms.com/${P}.tar.gz"
@@ -11,22 +15,21 @@
KEYWORDS="~x86"
IUSE=""
-RDEPEND="dev-lang/tk
- media-libs/netpbm
- media-sound/sox
- net-dialup/mgetty"
-
-src_unpack() {
- unpack ${A}
+RDEPEND="
+ dev-lang/tk
+ media-libs/netpbm
+ media-sound/sox
+ net-dialup/mgetty"
+DEPEND="${DEPEND}"
+src_prepare() {
sed -i -e "s:/usr/local/etc:/etc:g; s:/usr/local/bin:/usr/bin:g; s:/usr/local/tkvoice:/usr/lib/${P}:g" \
- "${S}/tkvoice" "${S}/TCL/tkvfaq.tcl" "${S}/TCL/tkvsetupvoice.tcl"
+ "${S}/tkvoice" "${S}/TCL/tkvfaq.tcl" "${S}/TCL/tkvsetupvoice.tcl" || die
sed -i -e "s:set STARTDIR .*:set STARTDIR /usr/lib/${P}:" \
- "${S}/tkvoice"
+ "${S}/tkvoice" || die
}
-src_install()
-{
+src_install() {
exeinto /usr/lib/${P}
doexe ${PN}
dodir /usr/bin
@@ -36,17 +39,15 @@
insinto /usr/lib/${P}/image
doins image/*
- insinto /usr/share/applications
- doins "${FILESDIR}/${PN}.desktop"
+ domenu "${FILESDIR}/${PN}.desktop"
insinto /usr/share/pixmaps
doins ${PN}.xpm
dodoc BUGS FAQ README TODO
}
-pkg_postinst()
-{
- elog "${P} has been installed. Run /usr/bin/${PN}."
+pkg_postinst() {
+ elog "${P} has been installed. Run ${EPREFIX}/usr/bin/${PN}."
elog "For more information, see the home page, ${HOMEPAGE}"
elog "or consult the documentation for this program as well as"
elog "for mgetty/vgetty."
1.3 net-dialup/tkvoice/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/tkvoice/ChangeLog?r1=1.2&r2=1.3
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 6 May 2007 08:16:05 -0000 1.2
+++ ChangeLog 5 Sep 2012 08:05:53 -0000 1.3
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/tkvoice
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/ChangeLog,v 1.2 2007/05/06 08:16:05 genone Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/tkvoice/ChangeLog,v 1.3 2012/09/05 08:05:53 jlec Exp $
+
+ 05 Sep 2012; Justin Lecher <jlec@gentoo.org> files/tkvoice.desktop,
+ tkvoice-1.5.ebuild:
+ Use domenu instead insinto + doins to install .desktop files
06 May 2007; Marius Mauch <genone@gentoo.org> tkvoice-1.5.ebuild:
Replacing einfo with elog
@@ -10,4 +14,3 @@
02 Apr 2006; Alin Nastac <mrness@gentoo.org> +files/tkvoice.desktop,
+metadata.xml, +tkvoice-1.5.ebuild:
Initial import from bug #125266, thanks to Peter Hyman <pete4abw@comcast.net>.
-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-05 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 8:05 [gentoo-commits] gentoo-x86 commit in net-dialup/tkvoice: tkvoice-1.5.ebuild ChangeLog Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox