Lines 2-8
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/net-misc/spread/spread-4.0.0.ebuild,v 1.3 2008/01/11 08:38:56 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/spread/spread-4.0.0.ebuild,v 1.3 2008/01/11 08:38:56 armin76 Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
EAPI="2" |
|
|
6 |
|
7 |
inherit eutils autotools |
6 |
|
8 |
|
7 |
MY_PN="spread-src" |
9 |
MY_PN="spread-src" |
8 |
|
10 |
|
Lines 10-18
Link Here
|
10 |
HOMEPAGE="http://www.spread.org" |
12 |
HOMEPAGE="http://www.spread.org" |
11 |
SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz" |
13 |
SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz" |
12 |
|
14 |
|
|
|
15 |
|
13 |
LICENSE="Spread-1.0" |
16 |
LICENSE="Spread-1.0" |
14 |
SLOT="0" |
17 |
SLOT="0" |
15 |
KEYWORDS="~x86 ~amd64" |
18 |
KEYWORDS="~arm ~x86 ~amd64" |
16 |
IUSE="" |
19 |
IUSE="" |
17 |
|
20 |
|
18 |
DEPEND="" |
21 |
DEPEND="" |
Lines 31-36
Link Here
|
31 |
|
34 |
|
32 |
# don't strip binaries |
35 |
# don't strip binaries |
33 |
sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in |
36 |
sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in |
|
|
37 |
|
38 |
# cross-compilation breaks during configure at snprintf test |
39 |
epatch "${FILESDIR}"/fix-cross-compile-snprintf-test.patch || die "" |
40 |
eautoconf -I buildtools || die "" |
41 |
} |
42 |
|
43 |
src_configure() { |
44 |
export CFLAGS="${CFLAGS}" |
45 |
export LDFLAGS="${LDFLAGS}" |
46 |
econf || die "" |
47 |
} |
48 |
|
49 |
src_compile() { |
50 |
emake || die "" |
34 |
} |
51 |
} |
35 |
|
52 |
|
36 |
src_install() { |
53 |
src_install() { |