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

(-)duhdraw-2.8.13.ebuild (-5 / +6 lines)
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/media-gfx/duhdraw/duhdraw-2.8.13.ebuild,v 1.7 2010/01/07 22:02:50 fauli Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/duhdraw/duhdraw-2.8.13.ebuild,v 1.7 2010/01/07 22:02:50 fauli Exp $
4
4
5
inherit toolchain-funcs eutils
5
EAPI="5"
6
7
inherit eutils
6
8
7
DESCRIPTION="ASCII art editor"
9
DESCRIPTION="ASCII art editor"
8
HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw"
10
HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw"
Lines 16-32 Link Here
16
DEPEND="sys-libs/ncurses"
18
DEPEND="sys-libs/ncurses"
17
RDEPEND=${DEPEND}
19
RDEPEND=${DEPEND}
18
20
19
src_unpack() {
21
src_prepare() {
20
	unpack ${A}
21
	epatch "${FILESDIR}"/${P}-macos.patch
22
	epatch "${FILESDIR}"/${P}-macos.patch
22
	epatch "${FILESDIR}"/${P}-prestrip.patch
23
	epatch "${FILESDIR}"/${P}-prestrip.patch
23
}
24
}
24
25
25
src_compile() {
26
src_compile() {
26
	emake CC="$(tc-getCC) ${CFLAGS}" || die "emake failed"
27
	emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
27
}
28
}
28
29
29
src_install() {
30
src_install() {
30
	dobin ansi ansitoc duhdraw || die
31
	dobin ansi ansitoc duhdraw
31
	dodoc CREDITS HISTORY TODO
32
	dodoc CREDITS HISTORY TODO
32
}
33
}

Return to bug 335177