2007-07-28 21:21:12 +02:00
|
|
|
# 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 ASCII Client"
|
|
|
|
HOMEPAGE="http://www.irtrans.de"
|
2007-08-16 14:48:50 +02:00
|
|
|
SRC_URI="ftp://mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
|
|
|
|
http://ftp.mars.arge.at/irtrans/irserver-src-${PV}.tar.gz"
|
2007-07-28 21:21:12 +02:00
|
|
|
|
|
|
|
LICENSE="as-is"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RDEPEND="virtual/libc"
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
2007-08-16 15:42:11 +02:00
|
|
|
epatch ${FILESDIR}/irtrans-irserver-${PV}-missing-include.diff
|
2007-07-28 21:21:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
cd ${WORKDIR}
|
2007-08-16 14:48:50 +02:00
|
|
|
append-flags -DLINUX -Icommon
|
2007-07-28 21:21:12 +02:00
|
|
|
$(tc-getCC) ${CFLAGS} -o irclient client.c || die "irclient compile failed"
|
2007-08-16 18:05:58 +02:00
|
|
|
$(tc-getCC) ${CFLAGS} -o ip_assign ip_assign.c || die "irclient compile failed"
|
2007-07-28 21:21:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin ${WORKDIR}/irclient
|
2007-08-16 18:05:58 +02:00
|
|
|
dobin ${WORKDIR}/ip_assign
|
2007-07-28 21:21:12 +02:00
|
|
|
}
|
|
|
|
|