Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 649788
Collapse All | Expand All

(-)a/sys-apps/heirloom-tools/heirloom-tools-070715.ebuild (-5 / +10 lines)
Lines 1-7 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
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
3
4
EAPI="5"
4
EAPI="6"
5
5
6
inherit flag-o-matic toolchain-funcs
6
inherit flag-o-matic toolchain-funcs
7
7
Lines 17-36 Link Here
17
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
18
IUSE=""
18
IUSE=""
19
19
20
DEPEND="sys-apps/ed
20
RDEPEND="sys-libs/ncurses:0"
21
DEPEND="$RDEPEND
22
	sys-apps/ed
21
	sys-libs/zlib[static-libs]"
23
	sys-libs/zlib[static-libs]"
22
RDEPEND=""
23
24
24
S="${WORKDIR}/heirloom-${PV}"
25
S="${WORKDIR}/heirloom-${PV}"
25
26
26
src_compile() {
27
src_compile() {
27
	append-cppflags -D_GNU_SOURCE
28
	append-cppflags -D_GNU_SOURCE
28
	emake -j1 ||die
29
30
	local curses=-lncurses
31
	has_version 'sys-libs/ncurses:0[tinfo]' && curses+=' -ltinfo'
32
33
	emake -j1 LCURS="$curses"
29
}
34
}
30
35
31
src_install() {
36
src_install() {
32
	# we don't want to strip here, so use "true" as noop
37
	# we don't want to strip here, so use "true" as noop
33
	emake STRIP="true" ROOT="${D}" -j1 install || die
38
	emake STRIP="true" ROOT="${D}" -j1 install
34
}
39
}
35
40
36
pkg_postinst() {
41
pkg_postinst() {

Return to bug 649788