linamh/app-misc/irtrans-irclient/irtrans-irclient-5.9.07-r1.ebuild
geos_one 81406604b7 redigest tree
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2221 6952d904-891a-0410-993b-d76249ca496b
2010-05-10 18:43:24 +00:00

41 lines
989 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irclient/irtrans-irclient-5.9.07.ebuild,v 1.2 2007/12/06 21:47:18 mr_bones_ Exp $
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="IRTrans ASCII Client"
HOMEPAGE="http://www.irtrans.de"
SRC_URI="ftp://disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz
http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
src_unpack() {
unpack "${A}"
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}"-5.9.01-missing-include.diff
}
src_compile() {
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 "ip_assign compile failed"
}
src_install() {
dobin "${WORKDIR}"/irclient
dobin "${WORKDIR}"/ip_assign
}