summaryrefslogtreecommitdiff
blob: 2f43a792876ad4049df0cb6587bd7382f43c9919 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Parag Mehta <pm@gentoo.org>
# $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
}