summaryrefslogtreecommitdiff
blob: 3bc0f27b7f9b4bb709a5d03d97ff0506e3896b17 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Prakash Shetty (Crux) <ps@gnuos.org>
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.0.3-r1.ebuild,v 1.5 2001/08/13 20:09:39 drobbins 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
}