summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-10-13 21:16:18 +0000
committerMike Gilbert <floppym@gentoo.org>2012-10-13 21:16:18 +0000
commita8df040b4eaa5b47efa553ee5a7c885ded82431a (patch)
tree03076190d4faf7c87cc151a550645caf7f37462d /net-irc
parentForce python2 shebangs. (diff)
downloadgentoo-2-a8df040b4eaa5b47efa553ee5a7c885ded82431a.tar.gz
gentoo-2-a8df040b4eaa5b47efa553ee5a7c885ded82431a.tar.bz2
gentoo-2-a8df040b4eaa5b47efa553ee5a7c885ded82431a.zip
General cleanup.
(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irker/ChangeLog5
-rw-r--r--net-irc/irker/irker-1.12-r1.ebuild14
2 files changed, 10 insertions, 9 deletions
diff --git a/net-irc/irker/ChangeLog b/net-irc/irker/ChangeLog
index ee0bc3fa4dcc..fc62ab91d0ee 100644
--- a/net-irc/irker/ChangeLog
+++ b/net-irc/irker/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/irker
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/ChangeLog,v 1.3 2012/10/13 21:07:45 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/ChangeLog,v 1.4 2012/10/13 21:16:18 floppym Exp $
+
+ 13 Oct 2012; Mike Gilbert <floppym@gentoo.org> irker-1.12-r1.ebuild:
+ General cleanup.
13 Oct 2012; Mike Gilbert <floppym@gentoo.org> irker-1.12-r1.ebuild:
Force python2 shebangs.
diff --git a/net-irc/irker/irker-1.12-r1.ebuild b/net-irc/irker/irker-1.12-r1.ebuild
index 2f7ac6c41c1f..7bbb76920c82 100644
--- a/net-irc/irker/irker-1.12-r1.ebuild
+++ b/net-irc/irker/irker-1.12-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/irker-1.12-r1.ebuild,v 1.2 2012/10/13 21:07:45 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/irker-1.12-r1.ebuild,v 1.3 2012/10/13 21:16:18 floppym Exp $
EAPI=4
@@ -19,12 +19,10 @@ RDEPEND="${DEPEND}
=dev-lang/python-2*"
src_install() {
- # the irkerhook.py is not installed with the default makefile
+ python_convert_shebangs 2 irkerd irkerhook.py
emake DESTDIR="${D}" install
- cp ${S}/irkerhook.py ${D}/usr/bin/ || die "Failed to install the irkerhook"
- mkdir -p ${D}/etc/init.d/ ${D}/etc/conf.d/
- cp ${FILESDIR}/irker.init ${D}/etc/init.d/irkerd || die "Failed to install init script"
- chmod 755 ${D}/etc/init.d/irkerd # need to be executable
- cp ${FILESDIR}/irker.conf.d ${D}/etc/conf.d/irkerd || die "Failed to install conf"
- python_convert_shebangs -r 2 "${D}"
+ # the irkerhook.py is not installed with the default makefile
+ dobin irkerhook.py
+ newinitd "${FILESDIR}/irker.init" irkerd
+ newconfd "${FILESDIR}/irker.conf.d" irkerd
}