git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@3031 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-11-12 17:36:16 +00:00
parent 5ed962b210
commit 7fcadddab4
2 changed files with 70 additions and 0 deletions

View File

@ -4,9 +4,11 @@ DIST irserver-src-6.03.02.tar.gz 176622 RMD160 01892d048ec10892509e69ee298d4cb1e
DIST irserver-src-6.03.08.tar.gz 177206 RMD160 8461d3d0c19d1d407d41dc1627a124d1fd920dda SHA1 33be6c0a8da564e8d21f11a9d3488cfea72bae48 SHA256 869f5da21c5136b8a94344b68d9b3c260956379d80af5c19116c252eb250f749
DIST irserver-src-6.03.09.tar.gz 177932 RMD160 a72d98897479faab509b3c27e6992af83a47b092 SHA1 70fc16b0475ead871936aa6898503cd46645e599 SHA256 7d942b3e342f0e3a86a9bc4fbaa759a9ef7c18cc4256f2502e80cb142e5f28a3
DIST irserver-src-6.08.18.tar.gz 186172 RMD160 75ba44a179c688bf7b9d1a563fc9592d632db300 SHA1 7d7d3de9a5c07e1abddf8ed9c6512c7f9288c052 SHA256 26ff4f5dd7eaa745b8f9be844499d412b71e47cf93e1639d316c7188070daa94
DIST irserver-src-6.08.28.tar.gz 195695 RMD160 d6f9888284507e462e80a0dbe52cdcf3b5cd873c SHA1 7b67ecb73fd9bbedf1c954aef889f3989ff88cda SHA256 375a567f760e8afd02b749b9624499d19233c3e3ed1d64ebf863e192f0181575
EBUILD irtrans-irserver-6.03.02.ebuild 1481 RMD160 af8f259b628118d1a3b624bf6febad575483a9e2 SHA1 988f5d6878d6cfba2b321c9e848a927dd4658540 SHA256 4dc635ed386efbf5bab99ca57f828ab4301222ebc4dcde6cc30c698ca12cc452
EBUILD irtrans-irserver-6.03.08.ebuild 1481 RMD160 af8f259b628118d1a3b624bf6febad575483a9e2 SHA1 988f5d6878d6cfba2b321c9e848a927dd4658540 SHA256 4dc635ed386efbf5bab99ca57f828ab4301222ebc4dcde6cc30c698ca12cc452
EBUILD irtrans-irserver-6.03.09.ebuild 1481 RMD160 af8f259b628118d1a3b624bf6febad575483a9e2 SHA1 988f5d6878d6cfba2b321c9e848a927dd4658540 SHA256 4dc635ed386efbf5bab99ca57f828ab4301222ebc4dcde6cc30c698ca12cc452
EBUILD irtrans-irserver-6.08.18.ebuild 1481 RMD160 af8f259b628118d1a3b624bf6febad575483a9e2 SHA1 988f5d6878d6cfba2b321c9e848a927dd4658540 SHA256 4dc635ed386efbf5bab99ca57f828ab4301222ebc4dcde6cc30c698ca12cc452
EBUILD irtrans-irserver-6.08.28.ebuild 1481 RMD160 af8f259b628118d1a3b624bf6febad575483a9e2 SHA1 988f5d6878d6cfba2b321c9e848a927dd4658540 SHA256 4dc635ed386efbf5bab99ca57f828ab4301222ebc4dcde6cc30c698ca12cc452
MISC ChangeLog 5315 RMD160 43a7593f4848248da196aa2c1edf92ea442e1699 SHA1 4f0f74cfb5f23015e136d6784853231e80628abf SHA256 4598263d36672325cab1fcd19f6933aaa41d0959073c06a007640d11426848b7
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,68 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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() {
sed -e 's!^ODIRARM = .*!ODIRARM = n800!' -i makefile
}
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
}