summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-02-02 10:04:33 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-02-02 10:04:33 +0000
commit7806aba84ead8bc6cc96708575f93477a5a44597 (patch)
tree7f6c6c8b3542e73986e0efafe79ce129e1151561 /app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild
parentclean up; version bump bug #235146; fixed bug #3335973; set to valid email ad... (diff)
downloadgentoo-2-7806aba84ead8bc6cc96708575f93477a5a44597.tar.gz
gentoo-2-7806aba84ead8bc6cc96708575f93477a5a44597.tar.bz2
gentoo-2-7806aba84ead8bc6cc96708575f93477a5a44597.zip
clean up; version bump bug #235146; fixed bug #3335973; set to valid email adresse; fix bigfile in filesdir bug #248959
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild')
-rw-r--r--app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild
new file mode 100644
index 000000000000..e9a5a094127a
--- /dev/null
+++ b/app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/irtrans-irserver-6.03.08.ebuild,v 1.1 2011/02/02 10:04:33 hd_brummy Exp $
+
+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/Server/Linux/irserver-src.tar.gz -> irserver-src-${PV}.tar.gz
+ http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+IUSE=""
+
+RDEPEND="virtual/libc"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}"-arm-1.patch
+}
+
+src_compile() {
+
+ append-flags -DLINUX
+
+ # Set sane defaults (arm target has no -D flags added)
+ irbuild=irserver_arm_noccf
+ irserver=irserver
+
+ # change variable by need
+ if use x86 ; then
+ irbuild=irserver
+ elif use amd64 ; then
+ irbuild=irserver64
+ irserver=irserver64
+ elif use arm ; then
+ irbuild=irserver_arm
+ fi
+
+ # Some output for bugreport
+ einfo "CFLAGS=\"${CFLAGS}\""
+ einfo "Build Target=\"${irbuild}\""
+ einfo "Build Binary=\"${irserver}\""
+
+ # Build
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" "${irbuild}" || die "emake irserver failed"
+}
+
+src_install() {
+
+ newbin "${WORKDIR}/${irserver}" irserver
+
+ keepdir /etc/irserver/remotes
+
+ docinto remotes
+ dodoc remotes/*
+
+ newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
+ newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
+}