# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Parag Mehta # $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.0.6.ebuild,v 1.1 2001/11/07 05:44:32 pm Exp $ S=${WORKDIR}/${P} DESCRIPTION="A Clone of PICO with more Fuctions in a smaller Size" #SRC_URI="http://www.nano-editor.org/dist/v1.0/${A}" SRC_URI="http://www.nano-editor.org/dist/v1.0/${P}.tar.gz" HOMEPAGE="http://www.nano-editor.org" DEPEND=">=sys-libs/glibc-2.1.3 >=sys-libs/ncurses-5.2" src_compile() { cd ${S} try ./configure --prefix=/usr --enable-extra --mandir=/usr/share/man \ --infodir=/usr/share/info try make } src_install () { cd ${S} try make DESTDIR=${D} install if [ -z "`use bootcd`" ] && [ -z "`use build`" ] then dodoc COPYING ChangeLog README else rm -rf ${D}/usr/share fi }