git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1560 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-10-11 05:45:38 +00:00
parent a2006e1e98
commit bfa25dbcc9
2 changed files with 68 additions and 0 deletions

View File

@ -12,6 +12,7 @@ DIST irserver-src-6.01.15.tar.gz 155575 RMD160 22c885f0cd1f1339d3161b67d8d26d618
DIST irserver-src-6.02.07.tar.gz 158710 RMD160 dc4490dabf559495f959b70326d50584649d1bb0 SHA1 3daa399892a27ab10bc9509dc2be6f738224270f SHA256 5d73759c89bb43af9d8c1a322822a1685ca03ea715fd6790c8773a35fe709a23
DIST irserver-src-6.02.12.tar.gz 159341 RMD160 a2b92ce9f614c9ad21a05f9a0001f464aff43529 SHA1 b6124dba2edda50c84d075a2ebb0acc9d36a748d SHA256 c8cdb072ba28d4f44d981e1d2908093da9cb0d87ba8b8000e082b623192787d0
DIST irserver-src-6.02.23.tar.gz 162966 RMD160 803bcd702f5e90d99021526d85c5cffa3105cc93 SHA1 d9be1b3f2a40e86d6c9a4b8abbe93b9068c8ef29 SHA256 cf7ab7a11f81b4f60916531066063c5967fb57dfa6a711ec6fb7b0162bab7b13
DIST irserver-src-6.02.30.tar.gz 165554 RMD160 d167391a0d2fc2699332a4daaa63c6adfe3007d0 SHA1 8232809cb870ab6c5e1847cb9baa0ede6a37e4cc SHA256 3bd4824b11063a5dea928b1c586e74b3c82e8b1d249490f7fb038b226d9710b3
DIST irtrans-irserver-5.11.08-arm_remotes-1.patch.bz2 4918 RMD160 311bad27adfee35278cb36c3d62be014544f2bac SHA1 82ecd9fea280134f738a9cfac5bb6e187140686a SHA256 c30b69c4a3461bc35d66885757f33f009dc0c4d3210ebf695abd5da103e9adc0
EBUILD irtrans-irserver-5.11.08.ebuild 1435 RMD160 cdc407c4e4e5952e7a1f648950deb6beef50efb9 SHA1 50483a7d1646ce8a96997e2e77709dd3315e4acb SHA256 ef2b945332346ff584f41a81782dab4e9527144b914337a4025f7ec4d7a0e8b1
EBUILD irtrans-irserver-5.11.10.ebuild 1435 RMD160 cdc407c4e4e5952e7a1f648950deb6beef50efb9 SHA1 50483a7d1646ce8a96997e2e77709dd3315e4acb SHA256 ef2b945332346ff584f41a81782dab4e9527144b914337a4025f7ec4d7a0e8b1
@ -24,5 +25,6 @@ EBUILD irtrans-irserver-6.01.15.ebuild 1365 RMD160 2c8e25e433a9c2c8e7d159091e704
EBUILD irtrans-irserver-6.02.07.ebuild 1397 RMD160 0285ad9467f0a9ceae132548c71aabe96bbbb150 SHA1 f40988675e94a7b3e306285741473943cd17c60f SHA256 b9c3b33e7df1fb885df26f2dfa75f1e841629cd03875ff626e818619a94064a9
EBUILD irtrans-irserver-6.02.12.ebuild 1397 RMD160 0285ad9467f0a9ceae132548c71aabe96bbbb150 SHA1 f40988675e94a7b3e306285741473943cd17c60f SHA256 b9c3b33e7df1fb885df26f2dfa75f1e841629cd03875ff626e818619a94064a9
EBUILD irtrans-irserver-6.02.23.ebuild 1397 RMD160 0285ad9467f0a9ceae132548c71aabe96bbbb150 SHA1 f40988675e94a7b3e306285741473943cd17c60f SHA256 b9c3b33e7df1fb885df26f2dfa75f1e841629cd03875ff626e818619a94064a9
EBUILD irtrans-irserver-6.02.30.ebuild 1397 RMD160 0285ad9467f0a9ceae132548c71aabe96bbbb150 SHA1 f40988675e94a7b3e306285741473943cd17c60f SHA256 b9c3b33e7df1fb885df26f2dfa75f1e841629cd03875ff626e818619a94064a9
MISC ChangeLog 2886 RMD160 c0fd3b4664352b5a3f7a3cbef332d5b9583e3003 SHA1 0757dcd38ef94775f689a41ae3709c1c5600aed1 SHA256 3097e8502ec6b7ca63d6e67a70a33e308ddf9b3de86e85cfac2eee604d35936c
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,66 @@
# Copyright 1999-2009 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"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm"
IUSE=""
RDEPEND="virtual/libc"
S="${WORKDIR}"
src_prepare() {
epatch "${FILESDIR}/${PN}"-6.01.15-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
}