blob: ee4a172b8638553d554bdfdeaa5cc4f2fbb89787 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}
DESCRIPTION="aNOTHER wxWindows based eMule P2P Client"
HOMEPAGE="http://sourceforge.net/projects/amule"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=x11-libs/wxGTK-2.4.1
>=sys-libs/zlib-1.1.4"
pkg_setup() {
# FIXME: Is this really how we want to do this ?
GREP=`grep ' unicode' /var/db/pkg/x11-libs/wxGTK*/USE`
if [ "${GREP}" != "" ]; then
eerror "This package doesn't work with wxGTK"
eerror "compiled with gtk2 and unicode in USE"
eerror "Please re-compile wxGTK with -unicode"
die "aborting..."
fi
}
src_compile () {
export WANT_AUTOCONF_2_5='1'
export WANT_AUTOMAKE='1.7'
./autogen.sh
econf || die
MAKEOPTS="${MAKEOPTS} -j1" emake || die
}
src_install () {
einstall || die
}
|