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

40 lines
697 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
MY_PV="${PV/_p/-}"
DESCRIPTION="IRTrans ASCII Client"
HOMEPAGE="http://www.irtrans.de"
SRC_URI="http://www.irtrans.de/download/Client/client-src.zip"
LICENSE="Free"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${WORKDIR}
$(tc-getCC) ${CFLAGS} -o irclient client.c || die "emake irserver failed"
}
src_install() {
into /opt/irtrans/client
dobin ${WORKDIR}/irclient
doenvd "${FILESDIR}"/80irtrans-irclient
}