summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-06-06 11:44:26 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-06-06 11:44:26 +0000
commit92bb68f8a9379f21cdf6d741a415ddf880620033 (patch)
treee4897c3aae91e39a5d9438dc83afecd1ad295ddc /net-irc/emech
parentStable on arm, needed for net-libs/libblkmaker (diff)
downloadhistorical-92bb68f8a9379f21cdf6d741a415ddf880620033.tar.gz
historical-92bb68f8a9379f21cdf6d741a415ddf880620033.tar.bz2
historical-92bb68f8a9379f21cdf6d741a415ddf880620033.zip
Revision bump: EAPI 5, epatch_user, readme.gentoo eclass. Respect LDFLAGS. Drop old revision
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'net-irc/emech')
-rw-r--r--net-irc/emech/ChangeLog9
-rw-r--r--net-irc/emech/Manifest18
-rw-r--r--net-irc/emech/emech-3.0.3-r1.ebuild (renamed from net-irc/emech/emech-3.0.3.ebuild)59
3 files changed, 57 insertions, 29 deletions
diff --git a/net-irc/emech/ChangeLog b/net-irc/emech/ChangeLog
index dd85c57c13a1..77da0beaf9ce 100644
--- a/net-irc/emech/ChangeLog
+++ b/net-irc/emech/ChangeLog
@@ -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 <pinkbyte@gentoo.org> -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)
diff --git a/net-irc/emech/Manifest b/net-irc/emech/Manifest
index d7560ffc0c67..b2a8733ac69f 100644
--- a/net-irc/emech/Manifest
+++ b/net-irc/emech/Manifest
@@ -1,6 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST emech-3.0.2.tar.gz 229907 SHA256 cb107df3d712ea709b961eecfeefd7ae9bf93a38dc023e59e287cebb5a37f0e8 SHA512 09655b29abb9f4071a4ef8a4d4a91c5507e3fe35d1d623cf24b3a2cf790919bc23104a77c5fee598b8f53e2f9d0a79513945c1e884cccad05f5772441bc4388b WHIRLPOOL 835644d78e3d468a8445cd7c4e644836dc53b78acd70aea42300d883329467b37d605b0a510e5a78f5e11b53f40db917946581f0e2ae7cd5c0a02dac9e5bb954
DIST emech-3.0.3.tar.gz 228709 SHA256 e29c62f50206083a9ae8d1f38591c0188a4cb62d09c3aa0f3e71ee3cdf6fb6b2 SHA512 ffe478c0c1800c8afb7afca62dbe08fce6af25a5878ca5fb44bb1271a302d11b96263c51a3848996db8f33f1cdab60d86c26d571d6342fe1505d4dcff83803a3 WHIRLPOOL 82417748e1972e244941a59e508e48510fd7f331239d9114c8b9b814e005881c1659d3ae59ddd7e386eb6ea0a570622eac84c53128babeba49213669616fa141
EBUILD emech-3.0.2.ebuild 1726 SHA256 a99fd991066c4b191a44fa384bf19a541249caac9b6b46313d2ecfcabb040d99 SHA512 283f15c9ad1318b003e54992895dad388bdb7f6c5a6638ac3afddd8fb4d857ead9efeb8f1411319a19e7c0f7bf27e810b3be1b46910fbd6629bb704452131d7e WHIRLPOOL d154255436537a98c936378f19958c30f323d2dc1fbdd78bf1b92d27289406a0f9fe6c66fb580f5e23d9f5c6ea4a4e9ecd4588852db2b2111ff83966dbeb8318
-EBUILD emech-3.0.3.ebuild 1739 SHA256 f3a0e91bafc482936ed573c6f25f178c5d0be72ff7f694114cb94b544234883d SHA512 5a1e683e2ded2033df2699bbd00bf0014063a7ef55cc24792de3419a938bf2dc15dc250ee3d7746a26c838a13478689cf6276a02fe7457161cd0a2e0165bb616 WHIRLPOOL bf8c0a22f08026c2edde0dff61d38d7de001024072d3b6e2fffaab2dac6d7ce3c1da2eff755bb3d45c74531c1485cb0f66895b4191b01054fc73dc8b0255e454
-MISC ChangeLog 1713 SHA256 26abb4fc75fb53cc881d8a5617d7b40799aa92647f6c3591d6be50a868d4f707 SHA512 3e940deefeb5dd370d7221cc1cd17d5531907a892932e57ad62628061c645f6a2070a2dfe5f3a6ac67aabb4e35423ed789f22ecfb64af6fa886ff1a9b92af8b7 WHIRLPOOL 5398353ceae25279a2e4f87e3b1e7b4180209c7e030070ac4b99023ede8ee8f5e1be7cfe203ed8f7ab0f802e38138ca2ef0d0b94433404c831ff02982c91ce43
+EBUILD emech-3.0.3-r1.ebuild 1796 SHA256 cbfd6bf5864410ed13bff913c9a2c7e2ffccc8f1b2d198dbe5a10f00a0533714 SHA512 c59ac27e549ac8593ee470820623fb8e200c390c6097b34d0d2aa6fe02b49ae212ee42496eee61cd925391fc49730db4ae2c7da8d46bffb679d9f6a70e4686f8 WHIRLPOOL ec60d700b1b50747e0742b06f355347466d4abc90944a4591b433d10245d23ea67f66a42165a0439f448bac7610a6c766d3de7ee32cb26f7f5fbb22c93f6d918
+MISC ChangeLog 1940 SHA256 a9de4e598f8edd2d08a933eb33cbc18d94e981c77cc756f2e22527af2eacc4d0 SHA512 08dd3e1937e57d4ed31628aecd063ac98ffe8cf876cf0a3950beb38f639ee43573d7bb4d3aedfd119c1df19b6a6ee67e70dc047c996a7e4ceea2a52a11ecf825 WHIRLPOOL 72b3c8ba0b87328af26cceb740f9c03b439a596cbcd38b6d675260d7a71c528ace7d58c7503ab5287c346f134805f2d32ae9f7a3a347907822e71a63223922c9
MISC metadata.xml 160 SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 SHA512 9cf2605fc15b592515a931de7a63cf02d1d5ee27ecc3cd022f8e932791008d3ae4445088bebdb48ee0d46e17ebf475c19b15a05b07528f73c351a9846cd3920f WHIRLPOOL 6eb76aae8263e190c7a0a82968b1d7db2f4fb65bb9134b6bad1a5b2d3a513e229eebf303d9952f4933e758e42c0914550d58d5e86a3b76dbdd6df0802dec8e7a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJTkal0AAoJECo/aRed9267LCoH/1gHp05u3nB8F95TEKbyC6XH
+rG2yBe0T4m8BbFw/ql4VMphFMF1JZsDmsUeZZkSCfhS4rac2UveXT81ZP3u93PYI
+K//Hw76sBCUG1k7P0CDxBpKNh+ULwcwb3heqxVKeQPy7GVKkMFtWhzxcojylIE4j
+Kt0h7x1BKJ1Oir2fxBTeUpU4khwiOKCKLvJZyiu/GQhWSE8o5mmjS5+PNWTeuIXL
+83g/wgkI0y8xK3n8dV19N8O9nuazlDMwbD3vB6N/t4t/m/lsOB6Gp2X5DxV6DYJD
+iLTaeJQRKRqrXcht5Qy1M2ohvg+uhfA5yF/YCuAqBD0njnPPkZeCi6ATiPid5WQ=
+=KJff
+-----END PGP SIGNATURE-----
diff --git a/net-irc/emech/emech-3.0.3.ebuild b/net-irc/emech/emech-3.0.3-r1.ebuild
index ebdfcf11e388..07271eac10e6 100644
--- a/net-irc/emech/emech-3.0.3.ebuild
+++ b/net-irc/emech/emech-3.0.3-r1.ebuild
@@ -1,30 +1,41 @@
# 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.ebuild,v 1.1 2014/01/14 06:58:17 patrick Exp $
+# $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 $
-inherit toolchain-funcs
+EAPI=5
-DESCRIPTION="The EnergyMech is a UNIX compatible IRC bot programmed in the C language"
+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"
-DEPEND=""
+IUSE="debug session tcl"
-src_unpack() {
- unpack ${A}
+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/":' \
- "${S}"/src/config.h.in
+ src/config.h.in || die
+ # Respect LDFLAGS
+ sed -i -e '/LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' src/Makefile.in || die
+
+ epatch_user
}
-src_compile() {
- ./configure \
+myconf() {
+ echo ./configure $*
+ ./configure $* || die "./configure failed"
+}
+
+src_configure() {
+ myconf \
--with-alias \
--with-botnet \
--with-bounce \
@@ -45,32 +56,28 @@ src_compile() {
--with-telnet \
--with-toybox \
--with-trivia \
- --with-uptime \
+ --without-uptime \
--with-web \
--with-wingate \
--without-profiling \
$(use_with tcl) \
$(use_with session) \
- $(use_with debug) \
- || die "./configure failed"
- emake -C src CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" || die "emake failed"
+ $(use_with debug)
+}
+
+src_compile() {
+ emake -C src CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
}
src_install() {
- dobin src/energymech || die "dobin failed"
+ dobin src/energymech
- insinto /usr/share/energymech/help
- doins help/* || die "doins failed"
+ insinto /usr/share/energymech
+ doins -r help
insinto /usr/share/energymech/messages
- doins messages/*.txt || die "doins failed"
-
- dodoc sample.* README* TODO VERSIONS CREDITS checkmech || die "dodoc failed"
-}
+ doins messages/*.txt
-pkg_postinst() {
- elog
- elog "You can find a compressed sample config file at"
- elog "/usr/share/doc/${PF}/"
- elog
+ dodoc sample.* README* TODO VERSIONS CREDITS checkmech
+ readme.gentoo_create_doc
}