From 967b240d24ab90a40f28fb2eb35cc143574d8083 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Apr 2003 14:24:28 +0000 Subject: touchups --- app-admin/xstow/xstow-0.4.6.ebuild | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'app-admin/xstow/xstow-0.4.6.ebuild') diff --git a/app-admin/xstow/xstow-0.4.6.ebuild b/app-admin/xstow/xstow-0.4.6.ebuild index 0cb946abc2d8..4c127e6aa5ff 100644 --- a/app-admin/xstow/xstow-0.4.6.ebuild +++ b/app-admin/xstow/xstow-0.4.6.ebuild @@ -1,40 +1,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.1 2003/04/02 23:53:58 liquidx Exp $ - -IUSE="ncurses" +# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/xstow-0.4.6.ebuild,v 1.2 2003/04/23 14:24:28 vapier Exp $ inherit eutils -DESCRIPTION="XStow is a replacement for GNU stow with extensions" +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 + epatch ${FILESDIR}/${P}-configure-ncurses.diff } src_compile() { - local myconf - use ncurses || myconf="--without-ncurses" - - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --host=${CHOST} \ - ${myconf} || die + econf `use_with ncurses` || die emake || die } src_install() { - dodoc README AUTHORS COPYING NEWS README TODO ChangeLog + dodoc README AUTHORS NEWS README TODO ChangeLog make DESTDIR=${D} PACKAGE=${P} install || die } -- cgit v1.2.3-65-gdbad