Update the irtrans packages based on suggestions from hd_brummy

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@159 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2007-08-16 12:48:50 +00:00
parent ed8ed1fd04
commit 44b94056c2
12 changed files with 138 additions and 41 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
16 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
+irtrans-irclient-5.9.01.ebuild, -irtrans-irclient-070427.ebuild:
Redesign Ebuild to use the irserver tar.gz
30 Jul 2007; Mario Fetka <mario-fetka@gmx.at> 30 Jul 2007; Mario Fetka <mario-fetka@gmx.at>
+files/digest-irtrans-irclient-070427: +files/digest-irtrans-irclient-070427:
Initail irclient Initail irclient

View File

@ -1,12 +1,12 @@
DIST client-src-070427.zip 32401 RMD160 f966b0b867b6f6dc4dc18c75190c243334957c84 SHA1 1849144150b600e8f97d4b1d2128231b05204a29 SHA256 fc73897d3eff49f7bef6fbcd20378f1cea170fed0b8fb629d9f84ca3c7a86810 DIST irserver-src-5.9.01.tar.gz 131750 RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 SHA1 e03916231f5cb4247c3428906ad37bfa7eba1629 SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4
EBUILD irtrans-irclient-070427.ebuild 650 RMD160 556f29403106c4198ef9d47c43cbed96a20e2ada SHA1 9b6ebcc320e59596550d4d682741f702fccf0a64 SHA256 ff35d671b1ad7c9fe995164d32f26c9da4418fb6a9e649e10e8f2fc35422f7ed EBUILD irtrans-irclient-5.9.01.ebuild 698 RMD160 aac39f6c9e2e98fb47e53bf061dd9e4312e8666d SHA1 40f59b757ad4746a99f561a4e1ae9e15862f648f SHA256 affe782a1173dfb28810320596cf47b1ba21528f48240ab6f5bf4c3141d85211
MD5 b3123eb104f309338f6effbf30b0c83f irtrans-irclient-070427.ebuild 650 MD5 04dd8d3bdae7a3561c741e469618417e irtrans-irclient-5.9.01.ebuild 698
RMD160 556f29403106c4198ef9d47c43cbed96a20e2ada irtrans-irclient-070427.ebuild 650 RMD160 aac39f6c9e2e98fb47e53bf061dd9e4312e8666d irtrans-irclient-5.9.01.ebuild 698
SHA256 ff35d671b1ad7c9fe995164d32f26c9da4418fb6a9e649e10e8f2fc35422f7ed irtrans-irclient-070427.ebuild 650 SHA256 affe782a1173dfb28810320596cf47b1ba21528f48240ab6f5bf4c3141d85211 irtrans-irclient-5.9.01.ebuild 698
MISC ChangeLog 235 RMD160 10444e35c38d7ea8c145433bcce945f5e2f82f12 SHA1 275f44748d61dbfe8c7700996b335682a22393e5 SHA256 3d061a3f848ecda99164e4b136fa48568bf7cbf5ef180fa0e8c2dcc9f9a3463e MISC ChangeLog 397 RMD160 128f263807df06384a441baaf4bdbd8db0769ab1 SHA1 78e27e8a37b0f1cc9abedf96ddead7ae0c4314d1 SHA256 0c088e13d7c750c55f39eaa636e297e4b70eb398d7988edee2e571de0bc9e045
MD5 7c028f2e8029508243b0809d751d9b7b ChangeLog 235 MD5 a5ca18f848c4538760eae16f556e9519 ChangeLog 397
RMD160 10444e35c38d7ea8c145433bcce945f5e2f82f12 ChangeLog 235 RMD160 128f263807df06384a441baaf4bdbd8db0769ab1 ChangeLog 397
SHA256 3d061a3f848ecda99164e4b136fa48568bf7cbf5ef180fa0e8c2dcc9f9a3463e ChangeLog 235 SHA256 0c088e13d7c750c55f39eaa636e297e4b70eb398d7988edee2e571de0bc9e045 ChangeLog 397
MD5 0cbbf7e4866ec9626ac7edef5f5c2f8d files/digest-irtrans-irclient-070427 241 MD5 607185512aec3e9a6d6ac1bc6b2461f6 files/digest-irtrans-irclient-5.9.01 259
RMD160 609935ccb911d1d187189056a660f92cf3584b76 files/digest-irtrans-irclient-070427 241 RMD160 3ac0a08aef1e436475e61984ca35df89ee0dacb4 files/digest-irtrans-irclient-5.9.01 259
SHA256 23f0230d4eff38f8e523d3abe05f4ad935e2a7eddc792de16b126ed4882c524c files/digest-irtrans-irclient-070427 241 SHA256 202ec158a51805e39b9285727dab55a74d25a6c4987577ae67a3d313c6f4ce9b files/digest-irtrans-irclient-5.9.01 259

View File

@ -1,3 +0,0 @@
MD5 d8e9e039307d7135f0953e72bedc7e48 client-src-070427.zip 32401
RMD160 f966b0b867b6f6dc4dc18c75190c243334957c84 client-src-070427.zip 32401
SHA256 fc73897d3eff49f7bef6fbcd20378f1cea170fed0b8fb629d9f84ca3c7a86810 client-src-070427.zip 32401

View File

@ -0,0 +1,3 @@
MD5 d45ff82a60aedbd18d9c5a47f690d81e irserver-src-5.9.01.tar.gz 131750
RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 irserver-src-5.9.01.tar.gz 131750
SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4 irserver-src-5.9.01.tar.gz 131750

View File

@ -6,8 +6,8 @@ inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="IRTrans ASCII Client" DESCRIPTION="IRTrans ASCII Client"
HOMEPAGE="http://www.irtrans.de" HOMEPAGE="http://www.irtrans.de"
SRC_URI="ftp://mars.arge.at/irtrans/client-src-${PV}.zip SRC_URI="ftp://mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
http://ftp.mars.arge.at/irtrans/client-src-${PV}.zip" http://ftp.mars.arge.at/irtrans/irserver-src-${PV}.tar.gz"
LICENSE="as-is" LICENSE="as-is"
SLOT="0" SLOT="0"
@ -26,6 +26,7 @@ src_unpack() {
src_compile() { src_compile() {
cd ${WORKDIR} cd ${WORKDIR}
append-flags -DLINUX -Icommon
$(tc-getCC) ${CFLAGS} -o irclient client.c || die "irclient compile failed" $(tc-getCC) ${CFLAGS} -o irclient client.c || die "irclient compile failed"
} }

View File

@ -2,6 +2,12 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
16 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
+irtrans-irserver-5.9.01-r1.ebuild,
+files/irtrans-irserver-5.9.01-missing-include.diff,
files/irtrans-server.confd, files/irtrans-server.initd:
Redesign ebuild to include the samples from the binary package
30 Jul 2007; Mario Fetka <mario-fetka@gmx.at> 30 Jul 2007; Mario Fetka <mario-fetka@gmx.at>
-irtrans-irserver-5.8.04.ebuild, -irtrans-irserver-5.8.18.ebuild, -irtrans-irserver-5.8.04.ebuild, -irtrans-irserver-5.8.18.ebuild,
+irtrans-irserver-5.8.18-r1.ebuild, files/irtrans-server.initd: +irtrans-irserver-5.8.18-r1.ebuild, files/irtrans-server.initd:

View File

@ -1,28 +1,40 @@
AUX irtrans-server.confd 312 RMD160 151927122a9b70a8bcca0f0fb6f7c0e327dc6bec SHA1 c86094081a74b41b550a3be3f4013520209906e6 SHA256 ffff7ff71e75349264f7d4447fadeff71c18df95a15fc8ba890460c6fe63327c AUX irtrans-irserver-5.9.01-missing-include.diff 375 RMD160 bd35f3e7bb63645da8856a09889e5932cf177cec SHA1 7028c59068d987732e5bd50c3e4f4b0630e79af4 SHA256 2170a965ebb16eef7d325deda108002949a209b80a4e971599f61438b0e7bd18
MD5 1c16f7f33ed333af77e501bb2a9d5640 files/irtrans-server.confd 312 MD5 362456a59d5d3ba26bd099dcd4d25000 files/irtrans-irserver-5.9.01-missing-include.diff 375
RMD160 151927122a9b70a8bcca0f0fb6f7c0e327dc6bec files/irtrans-server.confd 312 RMD160 bd35f3e7bb63645da8856a09889e5932cf177cec files/irtrans-irserver-5.9.01-missing-include.diff 375
SHA256 ffff7ff71e75349264f7d4447fadeff71c18df95a15fc8ba890460c6fe63327c files/irtrans-server.confd 312 SHA256 2170a965ebb16eef7d325deda108002949a209b80a4e971599f61438b0e7bd18 files/irtrans-irserver-5.9.01-missing-include.diff 375
AUX irtrans-server.initd 584 RMD160 27c16dce1a7a16fe4f0473e09a4bb2053b561a58 SHA1 3747668438ba2ade5dff56f2ea9e37d02881b91a SHA256 fb52f02709f6c151354918ea871d48983c4e0f24f461b63d0437b4a7c95554d5 AUX irtrans-server.confd 355 RMD160 c89748d87eb9d3a3a4d798e7f5dfce53a3c6838e SHA1 63913bf4545727c7211ce7fe84bf97e780c40a77 SHA256 2cb95a869c3932b4092e1981bd286ab6cf936569f46cbf14c0c75832f91afef8
MD5 9bdbfd92cd49f57f2a84e0b21fa7b037 files/irtrans-server.initd 584 MD5 0e2f5c538691663434642cec028b1296 files/irtrans-server.confd 355
RMD160 27c16dce1a7a16fe4f0473e09a4bb2053b561a58 files/irtrans-server.initd 584 RMD160 c89748d87eb9d3a3a4d798e7f5dfce53a3c6838e files/irtrans-server.confd 355
SHA256 fb52f02709f6c151354918ea871d48983c4e0f24f461b63d0437b4a7c95554d5 files/irtrans-server.initd 584 SHA256 2cb95a869c3932b4092e1981bd286ab6cf936569f46cbf14c0c75832f91afef8 files/irtrans-server.confd 355
AUX irtrans-server.initd 600 RMD160 1b7eb3ce09f3f67a60e5d669a00419778ca09292 SHA1 6cba6312e49f74b8cbd0ce3250dbbf926ccd74bd SHA256 c40a3c6fa02da67596aa4fc09c55e18e32b5899115bdaa74e6d5a3279d07e041
MD5 d3cd4b5b1fffde0d5a154189bb4933e4 files/irtrans-server.initd 600
RMD160 1b7eb3ce09f3f67a60e5d669a00419778ca09292 files/irtrans-server.initd 600
SHA256 c40a3c6fa02da67596aa4fc09c55e18e32b5899115bdaa74e6d5a3279d07e041 files/irtrans-server.initd 600
DIST irserver-5.9.01.tar.gz 201780 RMD160 241d767846366c9b27a5454f7f9063030ce73c1d SHA1 fcb7498747f6fed54dd9f3a115ade9ebece1b9c9 SHA256 7908b1f0d428ad943c1df99f2b4a12649a6786ee485be85cb5ca6af4b6e4a1af
DIST irserver-src-5.8.18.tar.gz 123837 RMD160 18e5d86c4efab6a744c947a2ef4cf7dbfb45c716 SHA1 b116a18a10b7f3e768edec650455cfed7a97cf79 SHA256 d98a730d273a95803ef71b6b8e60cf38bec86de2a84c7af9909dc0a7c868280d DIST irserver-src-5.8.18.tar.gz 123837 RMD160 18e5d86c4efab6a744c947a2ef4cf7dbfb45c716 SHA1 b116a18a10b7f3e768edec650455cfed7a97cf79 SHA256 d98a730d273a95803ef71b6b8e60cf38bec86de2a84c7af9909dc0a7c868280d
DIST irserver-src-5.9.01.tar.gz 131750 RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 SHA1 e03916231f5cb4247c3428906ad37bfa7eba1629 SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4 DIST irserver-src-5.9.01.tar.gz 131750 RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 SHA1 e03916231f5cb4247c3428906ad37bfa7eba1629 SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4
EBUILD irtrans-irserver-5.8.18-r1.ebuild 1110 RMD160 e3016d7c7ebd879d9ba078019492e829c1f3ae91 SHA1 57ed6b7005ec0b8aefb34dc4f65cb2733e6273e5 SHA256 569e3fbffcd4ad6ce2dcd22ddebcd1dd9fe41a6d89c2f29404a960766215ff18 EBUILD irtrans-irserver-5.8.18-r1.ebuild 1110 RMD160 e3016d7c7ebd879d9ba078019492e829c1f3ae91 SHA1 57ed6b7005ec0b8aefb34dc4f65cb2733e6273e5 SHA256 569e3fbffcd4ad6ce2dcd22ddebcd1dd9fe41a6d89c2f29404a960766215ff18
MD5 40935adefef227c58927283046548931 irtrans-irserver-5.8.18-r1.ebuild 1110 MD5 40935adefef227c58927283046548931 irtrans-irserver-5.8.18-r1.ebuild 1110
RMD160 e3016d7c7ebd879d9ba078019492e829c1f3ae91 irtrans-irserver-5.8.18-r1.ebuild 1110 RMD160 e3016d7c7ebd879d9ba078019492e829c1f3ae91 irtrans-irserver-5.8.18-r1.ebuild 1110
SHA256 569e3fbffcd4ad6ce2dcd22ddebcd1dd9fe41a6d89c2f29404a960766215ff18 irtrans-irserver-5.8.18-r1.ebuild 1110 SHA256 569e3fbffcd4ad6ce2dcd22ddebcd1dd9fe41a6d89c2f29404a960766215ff18 irtrans-irserver-5.8.18-r1.ebuild 1110
EBUILD irtrans-irserver-5.9.01-r1.ebuild 1249 RMD160 df63e51d1e770a124e6c6bef3b4b4937464f8f43 SHA1 d3ff5e698d6f58d317f28cd986622a7de80f94d3 SHA256 158cce4a9bf9b6c179c1300c9254f162a2b75a94dc954b7758e3b7f5d449727c
MD5 85b236d91a8c8b945be8aaf00adfc659 irtrans-irserver-5.9.01-r1.ebuild 1249
RMD160 df63e51d1e770a124e6c6bef3b4b4937464f8f43 irtrans-irserver-5.9.01-r1.ebuild 1249
SHA256 158cce4a9bf9b6c179c1300c9254f162a2b75a94dc954b7758e3b7f5d449727c irtrans-irserver-5.9.01-r1.ebuild 1249
EBUILD irtrans-irserver-5.9.01.ebuild 1058 RMD160 f503178c7a9c2fcb4ea14893c9fd95fe697690c0 SHA1 a3341f1603dc5b96aa404acb97329bf31420cf8a SHA256 18448fcb55bbd54329704995c0eceeed72b690d3f9a12c8d24cafab58d6d2cac EBUILD irtrans-irserver-5.9.01.ebuild 1058 RMD160 f503178c7a9c2fcb4ea14893c9fd95fe697690c0 SHA1 a3341f1603dc5b96aa404acb97329bf31420cf8a SHA256 18448fcb55bbd54329704995c0eceeed72b690d3f9a12c8d24cafab58d6d2cac
MD5 3c9d457571589a374e0618f1b3824f3c irtrans-irserver-5.9.01.ebuild 1058 MD5 3c9d457571589a374e0618f1b3824f3c irtrans-irserver-5.9.01.ebuild 1058
RMD160 f503178c7a9c2fcb4ea14893c9fd95fe697690c0 irtrans-irserver-5.9.01.ebuild 1058 RMD160 f503178c7a9c2fcb4ea14893c9fd95fe697690c0 irtrans-irserver-5.9.01.ebuild 1058
SHA256 18448fcb55bbd54329704995c0eceeed72b690d3f9a12c8d24cafab58d6d2cac irtrans-irserver-5.9.01.ebuild 1058 SHA256 18448fcb55bbd54329704995c0eceeed72b690d3f9a12c8d24cafab58d6d2cac irtrans-irserver-5.9.01.ebuild 1058
MISC ChangeLog 329 RMD160 dc8f1f03c25f693f0ad88d5c26cba0d467d98aac SHA1 b8e858a2163a8747fbd9b359e67dece85b035e4d SHA256 9c3d2eb201fbe0fbd5eeccc2c118d8440d90fbbe80e937b7518aebeace3e09d4 MISC ChangeLog 594 RMD160 6b4c73e31f921c3388897662de3da6d856507c59 SHA1 0bf87b5a9936a4c6c33e6224ed310a5136e6d315 SHA256 f21f278335e64e5d94a0b40c6ecf66b68c52b7ee7635f0f5a89aa7f2775e5ea7
MD5 b5324221b96bd43d1049a68781bb1205 ChangeLog 329 MD5 d8b409522f038d126398a10e49139f5f ChangeLog 594
RMD160 dc8f1f03c25f693f0ad88d5c26cba0d467d98aac ChangeLog 329 RMD160 6b4c73e31f921c3388897662de3da6d856507c59 ChangeLog 594
SHA256 9c3d2eb201fbe0fbd5eeccc2c118d8440d90fbbe80e937b7518aebeace3e09d4 ChangeLog 329 SHA256 f21f278335e64e5d94a0b40c6ecf66b68c52b7ee7635f0f5a89aa7f2775e5ea7 ChangeLog 594
MD5 b1439f2abed9a4dad82a0a717db6b873 files/digest-irtrans-irserver-5.8.18-r1 259 MD5 b1439f2abed9a4dad82a0a717db6b873 files/digest-irtrans-irserver-5.8.18-r1 259
RMD160 69324f3ca1f08b09a774d43a068a6e2e9a16018c files/digest-irtrans-irserver-5.8.18-r1 259 RMD160 69324f3ca1f08b09a774d43a068a6e2e9a16018c files/digest-irtrans-irserver-5.8.18-r1 259
SHA256 56f2234d41675bacb26eca55fd70c30efd265f796fb6f00f2facbfb9abcad47e files/digest-irtrans-irserver-5.8.18-r1 259 SHA256 56f2234d41675bacb26eca55fd70c30efd265f796fb6f00f2facbfb9abcad47e files/digest-irtrans-irserver-5.8.18-r1 259
MD5 607185512aec3e9a6d6ac1bc6b2461f6 files/digest-irtrans-irserver-5.9.01 259 MD5 607185512aec3e9a6d6ac1bc6b2461f6 files/digest-irtrans-irserver-5.9.01 259
RMD160 3ac0a08aef1e436475e61984ca35df89ee0dacb4 files/digest-irtrans-irserver-5.9.01 259 RMD160 3ac0a08aef1e436475e61984ca35df89ee0dacb4 files/digest-irtrans-irserver-5.9.01 259
SHA256 202ec158a51805e39b9285727dab55a74d25a6c4987577ae67a3d313c6f4ce9b files/digest-irtrans-irserver-5.9.01 259 SHA256 202ec158a51805e39b9285727dab55a74d25a6c4987577ae67a3d313c6f4ce9b files/digest-irtrans-irserver-5.9.01 259
MD5 76d67ca59b27c66ba6745c5518feb82a files/digest-irtrans-irserver-5.9.01-r1 506
RMD160 cef4d23d643ac318726c9e166d81a05deb3ed73f files/digest-irtrans-irserver-5.9.01-r1 506
SHA256 37048df638cc7f45828dae67b3e038c62e6153295c34b8469b191aefeac09c64 files/digest-irtrans-irserver-5.9.01-r1 506

View File

@ -0,0 +1,6 @@
MD5 bc26ed263b4b1e2f65d9d48cd0f876b6 irserver-5.9.01.tar.gz 201780
RMD160 241d767846366c9b27a5454f7f9063030ce73c1d irserver-5.9.01.tar.gz 201780
SHA256 7908b1f0d428ad943c1df99f2b4a12649a6786ee485be85cb5ca6af4b6e4a1af irserver-5.9.01.tar.gz 201780
MD5 d45ff82a60aedbd18d9c5a47f690d81e irserver-src-5.9.01.tar.gz 131750
RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 irserver-src-5.9.01.tar.gz 131750
SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4 irserver-src-5.9.01.tar.gz 131750

View File

@ -0,0 +1,13 @@
Joerg Bornkessel <hd_brummy@gentoo.org> 16 Aug 2007
diff -Naur linuxserio.c.orig linuxserio.c
--- linuxserio.c.orig 2007-08-16 12:24:22.000000000 +0200
+++ linuxserio.c 2007-08-16 12:24:49.000000000 +0200
@@ -13,6 +13,7 @@
#include <netinet/in.h>
#include <sys/un.h>
#include <arpa/inet.h>
+#include <stdlib.h>
#include "remote.h"
#include "errcode.h"

View File

@ -1,3 +1,6 @@
# Config for irtrans-server
# $Header: $
# Controls which information is logged. Standard is loglevel 1. # Controls which information is logged. Standard is loglevel 1.
# Possible values are 0-4. 0=Nothing is logged. 4=debug output. # Possible values are 0-4. 0=Nothing is logged. 4=debug output.
LOGLEVEL="1" LOGLEVEL="1"

View File

@ -1,5 +1,5 @@
#!/sbin/runscript #!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation # Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
@ -11,8 +11,7 @@ depend() {
start() { start() {
ebegin "Starting IRTrans" ebegin "Starting IRTrans"
eval start-stop-daemon --start --quiet --exec /usr/sbin/irserver --pidfile /var/run/irtrans-irserver.pid \ eval start-stop-daemon --start --quiet --exec /usr/sbin/irserver --pidfile /var/run/irtrans-irserver.pid \
-- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" \ -- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}"
-pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}"
eend $? eend $?
} }

View File

@ -0,0 +1,53 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="IRTrans Server"
HOMEPAGE="http://www.irtrans.de"
SRC_URI="ftp://mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
http://ftp.mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
ftp://mars.arge.at/irtrans/irserver-${PV}.tar.gz
http://ftp.mars.arge.at/irtrans/irserver-${PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="mirror nostrip"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-missing-include.diff
}
src_compile() {
cd ${WORKDIR}
append-flags -DLINUX -Icommon
if use x86 ; then
irbuild=irserver
elif use amd64 ; then
irbuild=irserver64
fi
einfo "CFLAGS=\"${CFLAGS}\""
emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${irbuild} || die "emake irserver failed"
}
src_install() {
newsbin ${WORKDIR}/${irbuild} irserver
keepdir /etc/irserver/remotes
docinto remotes
dodoc remotes/*
newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
}