diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /app-misc/irtrans-irclient | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'app-misc/irtrans-irclient')
-rw-r--r-- | app-misc/irtrans-irclient/Manifest | 1 | ||||
-rw-r--r-- | app-misc/irtrans-irclient/irtrans-irclient-6.01.05-r1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/irtrans-irclient/Manifest b/app-misc/irtrans-irclient/Manifest index d354d93abc38..26623ae02d28 100644 --- a/app-misc/irtrans-irclient/Manifest +++ b/app-misc/irtrans-irclient/Manifest @@ -1,4 +1,5 @@ DIST irclient-src-6.01.05.tar.gz 69814 BLAKE2B fb8d854fa9c00e57ff5f4002047c1733fb42e95d4055efb2c23bdbe381f901705973f54c155a65ddab1ca134d0c31b5e36eb90784a9e9986bbd5c8a2f4d4775d SHA512 47d76f66ce6422252624dd805fbff042bcd9443f04b656cb2b20267dbf42a57345a0ac5cda0204a44535088a06c1232d2dea6305ad3561c78a7330774c1e998e DIST irtrans-irclient-5.11.04-ip_assign-1.patch.bz2 5051 BLAKE2B 79b8fb9249c69e8a868771a288e5f0e7c4d6658d36f97ce1ac0c577dae5c810207780406bb7a87df3392eb795463b9c62c6ce7d99ef349111db99637ee8d2432 SHA512 9be72f7f6fcc24c9bda73cf5dd8a2c112c6cb82e2ef50d40c17b43d7dcb8f11bcf8bc0ebb914046b5429bce1b4936278ade936db6c916384fbd637a300f528cf +EBUILD irtrans-irclient-6.01.05-r1.ebuild 1331 BLAKE2B 9709f86529fe6fece10be99747e312d0a2467588e32cef7391f70cfef0bfe892db88b12b0d4cdaf07853fe30c160658f5ef31a7c85d17b55ed75734ba7765ff1 SHA512 3754845152408964332914b5e4ade4a3f38d3eec9534c2f12a1e863f77ec26f5cf539f0e6aec3cd6e434e3cc65e74e5c05956a357159a317208433c16959f5f3 EBUILD irtrans-irclient-6.01.05.ebuild 1647 BLAKE2B 15d5c9cd56c80697b178798212130e406ca19dcdf3e81c4251b885cffcff37eabe2295390997a916a5d663830bc100d242a57f05597d0cf970600340f7337c00 SHA512 a454497e39e36731065ec6d4d2b78fedfbae575357fefedcd21439267964bc2ae483048c80e59c7e7663e7510a9fd8e70e9ad857ee2525fa2d31212656efb447 MISC metadata.xml 460 BLAKE2B 8911eaf34bbdd8c9978c5d89582d1f0765ade9101da2102b02ab55f2f2c93384198c2fe79fcddb3ae8319bb32d0c8c973e69297a7830d7afafc454a7600dc145 SHA512 6067b6d98528ce0e9b0811ae31d949362173c43471d935197d2da5eeee5b4391cbd43b1bfbed8468c187d71c341f1eee247df0bfd3faf963104a67223501f75c 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 000000000000..ace60918ca5c --- /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 +} |