diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-03-29 20:08:17 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-03-29 20:08:17 +0000 |
commit | ce69d434d3ad5e81e536b12ee4a980c37cdb3a41 (patch) | |
tree | 59862ea3d4e1ff183ee8ebcde42409bdd2d5b5fa /app-misc | |
parent | Drop mask on KDE releases no longer in main tree. (diff) | |
download | gentoo-2-ce69d434d3ad5e81e536b12ee4a980c37cdb3a41.tar.gz gentoo-2-ce69d434d3ad5e81e536b12ee4a980c37cdb3a41.tar.bz2 gentoo-2-ce69d434d3ad5e81e536b12ee4a980c37cdb3a41.zip |
version bump, bug 360945
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/irtrans-irserver/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/irtrans-irserver/files/irtrans-irserver-6.03.09-arm-1.patch | 19 | ||||
-rw-r--r-- | app-misc/irtrans-irserver/irtrans-irserver-6.03.09.ebuild | 68 |
3 files changed, 95 insertions, 1 deletions
diff --git a/app-misc/irtrans-irserver/ChangeLog b/app-misc/irtrans-irserver/ChangeLog index 408cda4ce084..fdbb6fc1145a 100644 --- a/app-misc/irtrans-irserver/ChangeLog +++ b/app-misc/irtrans-irserver/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/irtrans-irserver # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/ChangeLog,v 1.8 2011/02/07 17:26:21 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/ChangeLog,v 1.9 2011/03/29 20:08:16 hd_brummy Exp $ + +*irtrans-irserver-6.03.09 (29 Mar 2011) + + 29 Mar 2011; Joerg Bornkessel <hd_brummy@gentoo.org> + +irtrans-irserver-6.03.09.ebuild, + +files/irtrans-irserver-6.03.09-arm-1.patch: + version bump, bug 360945 07 Feb 2011; Joerg Bornkessel <hd_brummy@gentoo.org> metadata.xml: mail address fixed diff --git a/app-misc/irtrans-irserver/files/irtrans-irserver-6.03.09-arm-1.patch b/app-misc/irtrans-irserver/files/irtrans-irserver-6.03.09-arm-1.patch new file mode 100644 index 000000000000..50da14531f97 --- /dev/null +++ b/app-misc/irtrans-irserver/files/irtrans-irserver-6.03.09-arm-1.patch @@ -0,0 +1,19 @@ +Submitted By: Mario Fetka (mario-fetka at gmx dot at) +Date: 2008-07-18 +Initial Package Version: 5.11.08 +Origin: me +Upstream Status: unknown +Description: correct arm dir + +diff -Naur makefile.orig /makefile +--- makefile.orig 2007-10-29 16:38:11.000000000 +0000 ++++ makefile 2008-07-18 18:42:52.000000000 +0000 +@@ -8,7 +8,7 @@ + LIBS = + ODIR = x86 + ODIR64 = x64 +-ODIRARM = arm ++ODIRARM = n800 + + _OBJS = fileio.o linuxserio.o lowlevel.o server.o errormessage.o flashrom.o webserver.o xap.o lanio.o ascii.o + OBJS = $(patsubst %,$(ODIR)/%,$(_OBJS)) diff --git a/app-misc/irtrans-irserver/irtrans-irserver-6.03.09.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-6.03.09.ebuild new file mode 100644 index 000000000000..0e44871950f4 --- /dev/null +++ b/app-misc/irtrans-irserver/irtrans-irserver-6.03.09.ebuild @@ -0,0 +1,68 @@ +# 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.09.ebuild,v 1.1 2011/03/29 20:08:16 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="" + +DEPEND="" +RDEPEND="${RDEPEND}" + +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 +} |