summaryrefslogtreecommitdiff
blob: f87ab1e6bce64ca8d9eedbec4d220010abb74e7d (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/xstow-0.4.6.ebuild,v 1.3 2003/06/29 15:24:08 aliz Exp $

inherit eutils

DESCRIPTION="replacement for GNU stow with extensions"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://xstow.sourceforge.net/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE="ncurses"

DEPEND="virtual/glibc
	ncurses? ( sys-libs/ncurses )"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}-configure-ncurses.diff
}

src_compile() {
	econf `use_with ncurses` || die
	emake || die
}

src_install() {
	dodoc README AUTHORS NEWS README TODO ChangeLog
	make DESTDIR=${D} PACKAGE=${P} install || die
}