Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/motor/motor-3.4.0-r2.ebuild,v 1.1 2008/12/23 17:46:51 mpagano Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/motor/motor-3.4.0-r2.ebuild,v 1.1 2008/12/23 17:46:51 mpagano Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=2 |
6 |
|
5 |
inherit eutils |
7 |
inherit eutils |
6 |
|
8 |
|
7 |
DESCRIPTION="text mode based programming environment for Linux" |
9 |
DESCRIPTION="text mode based programming environment for Linux" |
Lines 16-31
Link Here
|
16 |
DEPEND=">=sys-libs/ncurses-5.2 |
18 |
DEPEND=">=sys-libs/ncurses-5.2 |
17 |
nls? ( sys-devel/gettext )" |
19 |
nls? ( sys-devel/gettext )" |
18 |
|
20 |
|
19 |
src_unpack() { |
21 |
src_prepare() { |
20 |
unpack ${A} |
|
|
21 |
cd "${S}" |
22 |
epatch "${FILESDIR}/motor-3.2.2-security.patch" |
22 |
epatch "${FILESDIR}/motor-3.2.2-security.patch" |
23 |
epatch "${FILESDIR}/motor-${PV}-gcc43.patch" |
23 |
epatch "${FILESDIR}/motor-${PV}-gcc43.patch" |
|
|
24 |
sed -i -e 's/strndup/motorown_strndup/' \ |
25 |
parser/include/strfn.h parser/src/strfn.c parser/src/parser.c |
24 |
} |
26 |
} |
25 |
|
27 |
|
26 |
src_compile() { |
28 |
src_configure() { |
27 |
econf `use_enable nls` || die |
29 |
econf `use_enable nls` || die |
28 |
emake || die |
|
|
29 |
} |
30 |
} |
30 |
|
31 |
|
31 |
src_install() { |
32 |
src_install() { |