diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-03-12 13:22:00 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-03-12 13:22:00 +0000 |
commit | 58b5cb6c996a7f5985dd65fe25910c06458412b7 (patch) | |
tree | 498f0d73a4c815fffbf8453ad59f010dce91e87e /app-editors/nano | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-58b5cb6c996a7f5985dd65fe25910c06458412b7.tar.gz gentoo-2-58b5cb6c996a7f5985dd65fe25910c06458412b7.tar.bz2 gentoo-2-58b5cb6c996a7f5985dd65fe25910c06458412b7.zip |
Added USE dependent nls compilation
Diffstat (limited to 'app-editors/nano')
-rw-r--r-- | app-editors/nano/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/nano/files/digest-nano-1.0.8-r1 | 1 | ||||
-rw-r--r-- | app-editors/nano/nano-1.0.8-r1.ebuild | 40 |
3 files changed, 48 insertions, 1 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index 5906018e36ac..b0b9845994af 100644 --- a/app-editors/nano/ChangeLog +++ b/app-editors/nano/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/nano # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.2 2002/02/20 16:09:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.3 2002/03/12 13:22:00 seemant Exp $ + +*nano-1.0.8-r1 (12 Mar 2002) + + 12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> + + Add USE-conditional nls compilation *nano-1.0.8 (20 Feb 2002) diff --git a/app-editors/nano/files/digest-nano-1.0.8-r1 b/app-editors/nano/files/digest-nano-1.0.8-r1 new file mode 100644 index 000000000000..ad1304006d85 --- /dev/null +++ b/app-editors/nano/files/digest-nano-1.0.8-r1 @@ -0,0 +1 @@ +MD5 84743b50f839013b6bba654c7ae707bc nano-1.0.8.tar.gz 439253 diff --git a/app-editors/nano/nano-1.0.8-r1.ebuild b/app-editors/nano/nano-1.0.8-r1.ebuild new file mode 100644 index 000000000000..6acfbeb72050 --- /dev/null +++ b/app-editors/nano/nano-1.0.8-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2002 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.8-r1.ebuild,v 1.1 2002/03/12 13:22:00 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="clone of Pico with more functions in a smaller size" +SRC_URI="http://www.nano-editor.org/dist/v1.0/${P}.tar.gz" +HOMEPAGE="http://www.nano-editor.org/" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2 + slang? ( >=sys-libs/slang-1.4.4-r1 ) + nls? ( sys-devel/gettext )" + +src_compile() { + local myconf + + use slang && myconf="${myconf} --with-slang" + use nls || myconf="${myconf} --disable-nls" + + ./configure \ + --build=${CHOST} \ + --prefix=/usr \ + --enable-extra \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + ${myconf} || die "./configure failed" + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + if use bootcd || use build; then + rm -rf ${D}/usr/share + else + dodoc COPYING ChangeLog README + fi +} |