linamh/app-misc/irtrans-irclient/irtrans-irclient-5.8.01-r1.ebuild

35 lines
601 B
Bash
Raw Normal View History

# 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="http://www.irtrans.de/download/Client/client-src.zip"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="mirror"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${WORKDIR}
$(tc-getCC) ${CFLAGS} -o irclient client.c || die "irclient compile failed"
}
src_install() {
dobin ${WORKDIR}/irclient
}