35 lines
611 B
Bash
35 lines
611 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="http://www.irtrans.de/download/Client/client-src.zip"
|
|
|
|
LICENSE="as-is"
|
|
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 "irclient compile failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${WORKDIR}/irclient
|
|
}
|
|
|