blob: 7812d0db4d031c0474c49eeb15a8a04c4bff7c4d (
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
40
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/multimon/multimon-1.0-r2.ebuild,v 1.1 2010/10/20 04:25:33 jer Exp $
EAPI="2"
inherit eutils toolchain-funcs
S=${WORKDIR}/multimon
SRC_URI="http://www.baycom.org/~tom/ham/linux/multimon.tar.gz"
HOMEPAGE="http://www.baycom.org/~tom/ham/linux/multimon.html"
DESCRIPTION="Multimon decodes digital transmission codes using OSS"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc ~x86"
IUSE=""
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
x11-proto/xproto"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-flags.patch \
"${FILESDIR}"/${P}-includes.patch
}
src_compile() {
emake CFLAGS="${CFLAGS}" CC=$(tc-getCC) || die
}
src_install() {
local myarch
myarch=`uname -m`
mv bin-${myarch}/gen bin-${myarch}/multimon-gen
dobin bin-${myarch}/multimon-gen bin-${myarch}/mkcostab bin-${myarch}/multimon
}
pkg_postinst() {
ewarn "The gen command has been renamed to multimon-gen to avoid conflicts"
ewarn "with dev-ruby/gen (#247156)"
}
|