From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- net-irc/emech/Manifest | 2 +- net-irc/emech/emech-3.0.99_p3-r1.ebuild | 92 +++++++++++++++++++++++++++++++++ net-irc/emech/emech-3.0.99_p3.ebuild | 90 -------------------------------- 3 files changed, 93 insertions(+), 91 deletions(-) create mode 100644 net-irc/emech/emech-3.0.99_p3-r1.ebuild delete mode 100644 net-irc/emech/emech-3.0.99_p3.ebuild (limited to 'net-irc/emech') diff --git a/net-irc/emech/Manifest b/net-irc/emech/Manifest index 4b1b6b4b8e1d..163d771436d4 100644 --- a/net-irc/emech/Manifest +++ b/net-irc/emech/Manifest @@ -1,4 +1,4 @@ AUX emech-3.0.99_p3-buildfix.patch 2732 BLAKE2B b5af908f431049c8e3f5d631477a62769ef578ec1b610182a71fdf0811d0da37b77601c4d2de78d4f78de6a7330488a5878b7c11612c85263fef1573a807a0c4 SHA512 40119107c596f29838474fd3828c08736abdbf0fdf069556da6842393e64a3514d2fbb31dbe8c267649e12bf9ec678295b07c725f11161da852dc285ef3c6151 DIST emech-3.0.99p3.tar.gz 249209 BLAKE2B 8ff0806275f7b1c9e49bb2eeda2afa0ac94b894426a2f56508492f970070e4141f14f88ffb3c1c46855817c405d29454cf85ebba53c85b4038d7d9d079f4dff6 SHA512 8ce6f8889e060791ab3af6fa63623469a457c436b4e23c51dcd1833fd09e7692270a324ad1d15beb4ad390e9d481267a8ea60eb17c9fd3195b5ad0daf7341165 -EBUILD emech-3.0.99_p3.ebuild 1823 BLAKE2B 114978224d6baf351bc8635454e1975d54a780cc23ec7bd47ccd774d0a9cbb53ad40db977864b6d70acee677ae6611518522875577e58504f65be6a118ac83ec SHA512 38ace68ec4fb9c75025091a0dcdefc58a40cf1c2d1d023dc63ee983477392be63e8d5c9498354223f9b32a0b66be811596c8fb37df97a0aa1e5240891abe6c4f +EBUILD emech-3.0.99_p3-r1.ebuild 1872 BLAKE2B 4f50aa3cdc66174d23d24388361634452c1b02762e466910fa4517c1df1ea7084e2c4d5712670112a71fa4a1cc924aef2445526ef912a67f8642d9c5708537ad SHA512 af12e37b56053ca9bb7a1b16e271f122f11d9140dce7f4f5a50638dfabe7809c7606a86c87730c5376d832da1523af6fb8dc464686c6ed80fe3af1c4c6a75cf9 MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274 diff --git a/net-irc/emech/emech-3.0.99_p3-r1.ebuild b/net-irc/emech/emech-3.0.99_p3-r1.ebuild new file mode 100644 index 000000000000..6b5a308bbf18 --- /dev/null +++ b/net-irc/emech/emech-3.0.99_p3-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit readme.gentoo-r1 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" +S="${WORKDIR}/${P/_/}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug session tcl" +KEYWORDS="amd64 ppc x86" + +RDEPEND="virtual/libcrypt:=" +DEPEND="${RDEPEND}" + +DOC_CONTENTS="You can find a compressed sample config file at /usr/share/doc/${PF}" + +src_prepare() { + eapply "${FILESDIR}/${P}-buildfix.patch" + + sed -i \ + -e 's: "help/":"/usr/share/energymech/help/":' \ + -e 's: "messages/":"/usr/share/energymech/messages/":' \ + src/config.h.in || die + # Respect CFLAGS and LDFLAGS + sed -i \ + -e '/^LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' \ + -e '/^GDBFLAG/d' \ + -e '/^PIPEFLAG/d' \ + src/Makefile.in || die + + eapply_user +} + +myconf() { + tc-export CC + 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-seen \ + --with-stats \ + --with-telnet \ + --with-toybox \ + --with-trivia \ + --without-uptime \ + --with-web \ + --with-wingate \ + --without-profiling \ + --without-redirect \ + $(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 +} diff --git a/net-irc/emech/emech-3.0.99_p3.ebuild b/net-irc/emech/emech-3.0.99_p3.ebuild deleted file mode 100644 index 68daec2e5664..000000000000 --- a/net-irc/emech/emech-3.0.99_p3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit readme.gentoo-r1 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" -S="${WORKDIR}/${P/_/}" - -DOC_CONTENTS="You can find a compressed sample config file at /usr/share/doc/${PF}" - -src_prepare() { - eapply "${FILESDIR}/${P}-buildfix.patch" - - sed -i \ - -e 's: "help/":"/usr/share/energymech/help/":' \ - -e 's: "messages/":"/usr/share/energymech/messages/":' \ - src/config.h.in || die - # Respect CFLAGS and LDFLAGS - sed -i \ - -e '/^LFLAGS/s/\$(PIPEFLAG)/\0 \$(OPTIMIZE) \$(LDFLAGS)/' \ - -e '/^GDBFLAG/d' \ - -e '/^PIPEFLAG/d' \ - src/Makefile.in || die - - eapply_user -} - -myconf() { - tc-export CC - 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-seen \ - --with-stats \ - --with-telnet \ - --with-toybox \ - --with-trivia \ - --without-uptime \ - --with-web \ - --with-wingate \ - --without-profiling \ - --without-redirect \ - $(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 -} -- cgit v1.2.3