summaryrefslogtreecommitdiff
blob: 3e2ceb6cee9d175a985e93d8a68ac83b700633d8 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/multiimonc/multiimonc-0.3.6.ebuild,v 1.8 2006/11/18 12:58:08 mrness Exp $

inherit eutils

DESCRIPTION="A wxWidgets-based client for fli4l"
SRC_URI="http://hansmi.nanofortnight.org/multiimonc/MultiImonC-${PV}.tar.bz2"
HOMEPAGE="http://www.hansmi.ch/software/multiimonc"

S="${WORKDIR}/MultiImonC-${PV}"

KEYWORDS="amd64 hppa ppc sparc x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""

DEPEND="=x11-libs/wxGTK-2.4*"

src_unpack() {
	unpack ${A}
	cd "${S}/src"
	epatch "${FILESDIR}/${PV}-TextScrollWindow.diff" || die "epatch failed"
	cd "${S}"
	epatch "${FILESDIR}/${P}-as-needed.patch" || die "epatch failed"
}

src_compile() {
	econf --with-wx-config=wxgtk2-2.4-config || die "could not configure"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR="${D}" install || die "install problem"
}