diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/irtrans-irclient | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/irtrans-irclient')
-rw-r--r-- | app-misc/irtrans-irclient/Manifest | 4 | ||||
-rw-r--r-- | app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild | 66 | ||||
-rw-r--r-- | app-misc/irtrans-irclient/metadata.xml | 16 |
3 files changed, 86 insertions, 0 deletions
diff --git a/app-misc/irtrans-irclient/Manifest b/app-misc/irtrans-irclient/Manifest new file mode 100644 index 000000000000..d354d93abc38 --- /dev/null +++ b/app-misc/irtrans-irclient/Manifest @@ -0,0 +1,4 @@ +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.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.ebuild b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild new file mode 100644 index 000000000000..dc6bd63ff3ff --- /dev/null +++ b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild @@ -0,0 +1,66 @@ +# 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 +} diff --git a/app-misc/irtrans-irclient/metadata.xml b/app-misc/irtrans-irclient/metadata.xml new file mode 100644 index 000000000000..8143f8cf4708 --- /dev/null +++ b/app-misc/irtrans-irclient/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>mario.fetka@gmail.com</email> +<name>Mario Fetka</name> +</maintainer> +<maintainer type="person"> +<email>hd_brummy@gentoo.org</email> +<name>Joerg Bornkessel</name> +</maintainer> +<maintainer type="project"> +<email>proxy-maint@gentoo.org</email> +<name>Proxy Maintainers</name> +</maintainer> +</pkgmetadata> |