657ab817f0
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@161 6952d904-891a-0410-993b-d76249ca496b
40 lines
872 B
Bash
40 lines
872 B
Bash
# 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"
|
|
SRC_URI="ftp://mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
|
|
http://ftp.mars.arge.at/irtrans/irserver-src-${PV}.tar.gz"
|
|
|
|
LICENSE="as-is"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="virtual/libc"
|
|
|
|
RESTRICT="mirror"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
epatch ${FILESDIR}/irtrans-irserver-${PV}-missing-include.diff
|
|
}
|
|
|
|
src_compile() {
|
|
cd ${WORKDIR}
|
|
append-flags -DLINUX -Icommon
|
|
$(tc-getCC) ${CFLAGS} -o irclient client.c || die "irclient compile failed"
|
|
$(tc-getCC) ${CFLAGS} -o ip_assign ip_assign.c || die "irclient compile failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${WORKDIR}/irclient
|
|
dobin ${WORKDIR}/ip_assign
|
|
}
|
|
|