diff options
author | 2002-04-19 09:21:33 +0000 | |
---|---|---|
committer | 2002-04-19 09:21:33 +0000 | |
commit | e3e1bdfdbc519e8157c96d9363b7f92a2bcc6c27 (patch) | |
tree | 9cfb320d10bb2b275117fa167ecff1d0d320d486 /app-misc/emelfm/emelfm-0.9.2.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-e3e1bdfdbc519e8157c96d9363b7f92a2bcc6c27.tar.gz gentoo-2-e3e1bdfdbc519e8157c96d9363b7f92a2bcc6c27.tar.bz2 gentoo-2-e3e1bdfdbc519e8157c96d9363b7f92a2bcc6c27.zip |
new ebuild. resolves bug #894
Diffstat (limited to 'app-misc/emelfm/emelfm-0.9.2.ebuild')
-rw-r--r-- | app-misc/emelfm/emelfm-0.9.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/emelfm/emelfm-0.9.2.ebuild b/app-misc/emelfm/emelfm-0.9.2.ebuild new file mode 100644 index 000000000000..34fea6d604cd --- /dev/null +++ b/app-misc/emelfm/emelfm-0.9.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Matthew Kennedy <mkennedy@gentoo.org> +# Author: Matthew Kennedy <mkennedy@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm/emelfm-0.9.2.ebuild,v 1.1 2002/04/19 09:21:33 mkennedy Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="A file manager that implements the popular two-pane design." +SRC_URI="http://emelfm.sourceforge.net/${P}.tar.gz" +HOMEPAGE="http://emelfm.sourceforge.net/" + +DEPEND="virtual/glibc + =x11-libs/gtk+-1.2*" + +src_unpack() { + unpack ${A} + patch -p0 <${FILESDIR}/po-cs-po-gentoo.patch + patch -p0 <${FILESDIR}/makefile-nls-gentoo.patch +} + +src_compile() { + local myconf + + if use nls ; then + make PREFIX=/usr \ + CC="gcc ${CFLAGS}" \ + NLS=-DENABLE_NLS || die + else + make PREFIX=/usr \ + CC="gcc ${CFLAGS}" \ + NLS= || die + fi +} + +src_install () { + dodir /usr/bin + + if use nls ; then + make PREFIX=${D}/usr \ + NLS=-DENABLE_NLS \ + DOC_DIR=${D}/usr/share/doc/${P} \ + install || die + else + make PREFIX=${D}/usr NLS= \ + DOC_DIR=${D}/usr/share/doc/${P} \ + install || die + fi + + gzip ${D}/usr/share/doc/${P}/*.txt +} |