blob: f687f9ead8ecd30721f8a8b4231266f33bacbc55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2009 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.4 2009/09/23 16:03:31 patrick Exp $
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="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
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
}
|