* [gentoo-commits] repo/gentoo:master commit in: app-misc/irtrans-irclient/
@ 2018-08-21 12:46 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2018-08-21 12:46 UTC (permalink / raw
To: gentoo-commits
commit: b1a5daf97d417643702f543f03df8962d5e34d27
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jun 22 13:41:05 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 12:46:13 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a5daf9
app-misc/irtrans-irclient: EAPI 7 bump + improve ebuild.
Closes: https://github.com/gentoo/gentoo/pull/9028
.../irtrans-irclient-6.01.05-r1.ebuild | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/app-misc/irtrans-irclient/irtrans-irclient-6.01.05-r1.ebuild b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05-r1.ebuild
new file mode 100644
index 00000000000..ace60918ca5
--- /dev/null
+++ b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+RESTRICT="strip"
+
+DESCRIPTION="ASCII Client for the IRTrans Server"
+HOMEPAGE="http://www.irtrans.de"
+SRC_URI="http://www.irtrans.de/download/Client/irclient-src.tar.gz -> irclient-src-${PV}.tar.gz
+ http://ftp.disconnected-by-peer.at/irtrans/${PN}-5.11.04-ip_assign-1.patch.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+
+S="${WORKDIR}"
+
+PATCHES=( "${WORKDIR}/${PN}"-5.11.04-ip_assign-1.patch )
+
+src_compile() {
+ append-flags -DLINUX
+
+ # Set sane defaults (arm target has no -D flags added)
+ local irbuild
+ local ipbuild
+ irclient=irclient
+ ip_assign=ip_assign
+
+ # change variable by need
+ if use amd64; then
+ irbuild=irclient64
+ irclient=irclient64
+ ipbuild=ip_assign64
+ ip_assign=ip_assign64
+ elif use arm; then
+ irbuild=irclient_arm
+ ipbuild=ip_assign_arm
+ elif use x86; then
+ irbuild=irclient
+ ipbuild=ip_assign
+ fi
+
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ "${irbuild}"
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ "${ipbuild}"
+}
+
+src_install() {
+ newbin "${irclient}" irclient
+ newbin "${ip_assign}" ip_assign
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/irtrans-irclient/
@ 2018-10-06 17:50 Aaron Bauman
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2018-10-06 17:50 UTC (permalink / raw
To: gentoo-commits
commit: 618552557792068ecac7a18a84b19a03301f65fd
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 6 17:50:04 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Oct 6 17:50:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61855255
app-misc/irtrans-irclient: drop old EAPI
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../irtrans-irclient-6.01.05.ebuild | 66 ----------------------
1 file changed, 66 deletions(-)
diff --git a/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild
deleted file mode 100644
index dc6bd63ff3f..00000000000
--- a/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-RESTRICT="strip"
-
-DESCRIPTION="IRTrans Server"
-HOMEPAGE="http://www.irtrans.de"
-SRC_URI="http://www.irtrans.de/download/Client/irclient-src.tar.gz -> irclient-src-${PV}.tar.gz
- http://ftp.disconnected-by-peer.at/irtrans/${PN}-5.11.04-ip_assign-1.patch.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~arm"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${RDEPND}"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${WORKDIR}/${PN}"-5.11.04-ip_assign-1.patch
-}
-
-src_compile() {
-
- append-flags -DLINUX
-
- # Set sane defaults (arm target has no -D flags added)
- irbuild=irclient_arm
- irclient=irclient
- ipbuild=ip_assign_arm
- ip_assign=ip_assign
-
- # change variable by need
- if use x86 ; then
- irbuild=irclient
- ipbuild=ip_assign
- elif use amd64 ; then
- irbuild=irclient64
- irclient=irclient64
- ipbuild=ip_assign64
- ip_assign=ip_assign64
- fi
-
- # Some output for bugreport
- einfo "CFLAGS=\"${CFLAGS}\""
- einfo "Build client Target=\"${irbuild}\""
- einfo "Build client Binary=\"${irclient}\""
- einfo "Build ip_assign Target=\"${ipbuild}\""
- einfo "Build ip_assign Binary=\"${ip_assign}\""
-
- # Build
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${irbuild}" || die "emake irclient failed"
- emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${ipbuild}" || die "emake ip_assign failed"
-}
-
-src_install() {
-
- newbin "${WORKDIR}/${irclient}" irclient
- newbin "${WORKDIR}/${ip_assign}" ip_assign
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-06 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-06 17:50 [gentoo-commits] repo/gentoo:master commit in: app-misc/irtrans-irclient/ Aaron Bauman
-- strict thread matches above, loose matches on Subject: below --
2018-08-21 12:46 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox