pinkbyte    14/06/06 11:44:25

  Modified:             ChangeLog
  Added:                emech-3.0.3-r1.ebuild
  Removed:              emech-3.0.3.ebuild
  Log:
  Revision bump: EAPI 5, epatch_user, readme.gentoo eclass. Respect LDFLAGS. 
Drop old revision
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x1F357D42)

Revision  Changes    Path
1.14                 net-irc/emech/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/emech/ChangeLog?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/emech/ChangeLog?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/emech/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/emech/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   14 Jan 2014 06:58:17 -0000      1.13
+++ ChangeLog   6 Jun 2014 11:44:25 -0000       1.14
@@ -1,6 +1,13 @@
 # ChangeLog for net-irc/emech
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/ChangeLog,v 1.13 2014/01/14 
06:58:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/ChangeLog,v 1.14 2014/06/06 
11:44:25 pinkbyte Exp $
+
+*emech-3.0.3-r1 (06 Jun 2014)
+
+  06 Jun 2014; Sergey Popov <[email protected]> -emech-3.0.3.ebuild,
+  +emech-3.0.3-r1.ebuild:
+  Revision bump: EAPI 5, epatch_user, readme.gentoo eclass. Respect LDFLAGS.
+  Drop old revision
 
 *emech-3.0.3 (14 Jan 2014)
 



1.1                  net-irc/emech/emech-3.0.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/emech/emech-3.0.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/emech/emech-3.0.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: emech-3.0.3-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/emech/emech-3.0.3-r1.ebuild,v 1.1 
2014/06/06 11:44:25 pinkbyte Exp $

EAPI=5

inherit eutils readme.gentoo toolchain-funcs

DESCRIPTION="UNIX compatible IRC bot programmed in the C language"
HOMEPAGE="http://www.energymech.net/";
SRC_URI="http://www.energymech.net/files/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE="debug session tcl"

DOC_CONTENTS="You can find a compressed sample config file at 
/usr/share/doc/${PF}"

src_prepare() {
        sed -i \
                -e 's: "help/":"/usr/share/energymech/help/":' \
                -e 's: "messages/":"/usr/share/energymech/messages/":' \
                src/config.h.in || die
        # Respect LDFLAGS
        sed -i -e '/LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' 
src/Makefile.in || die

        epatch_user
}

myconf() {
        echo ./configure $*
        ./configure $* || die "./configure failed"
}

src_configure() {
        myconf \
                --with-alias \
                --with-botnet \
                --with-bounce \
                --with-ctcp \
                --with-dccfile \
                --with-dynamode \
                --with-dyncmd \
                --with-greet \
                --with-ircd_ext \
                --with-md5 \
                --with-newbie \
                --with-note \
                --with-notify \
                --with-rawdns \
                --with-redirect \
                --with-seen \
                --with-stats \
                --with-telnet \
                --with-toybox \
                --with-trivia \
                --without-uptime \
                --with-web \
                --with-wingate \
                --without-profiling \
                $(use_with tcl) \
                $(use_with session) \
                $(use_with debug)
}

src_compile() {
        emake -C src CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
}

src_install() {
        dobin src/energymech

        insinto /usr/share/energymech
        doins -r help

        insinto /usr/share/energymech/messages
        doins messages/*.txt

        dodoc sample.* README* TODO VERSIONS CREDITS checkmech
        readme.gentoo_create_doc
}




Reply via email to