I got a new ebuild for you/us, I atached the text below. The header need some corrections, please take a look on it. I think the right place for it would be app-text/html2text. I have a Problem with it, I can only emerge it if I put this ebuild in /usr/portage/app-text/html2text. If I try it with a folder in ~ I get this: ~ # emerge -p /home/thommy/portage/html2text-1.3.1.ebuild These are the packages that I would merge, in order: Calculating dependencies \emerge: create(): aux_get() error on thommy/html2text-1.3.1; aborting... I asked some people in IRC about this but they couldn't help me. Bye for now, Thommy Okay, now the ebuild: ----------------------------------------------------------------------------- # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-text/htmp2text/html2text-1.3.1.ebuild vapier Exp $ S=${WORKDIR}/${P/b/} DESCRIPTION="A HTML to text converter" SRC_URI="http://userpage.fu-berlin.de/~mbayer/tools/html2text-1.3.1.tar.gz" HOMEPAGE="http://userpage.fu-berlin.de/~mbayer/tools/html2text.html" SLOT="0" LICENSE="GPL" KEYWORDS="x86 sparc" IUSE="" DEPEND="" RDEPEND="${DEPEND}" src_compile() { ./configure || die emake || die } src_install() { dobin html2text doman html2text.1.gz doman html2textrc.5.gz dodoc CHANGES COPYING CREDITS INSTALL KNOWN_BUGS README TODO } Reproducible: Always Steps to Reproduce: 1. 2. 3.
look in /etc/make.conf for the PORTDIR_OVERLAY usually, you mimic the portage tree in /usr/local/portage so you'd have /usr/local/portage/app-text/html2text directory for this.
Created attachment 10017 [details] The corrected ebuild I deleted a senseless line and atached the ebuild as desvribed in the HowTo. Sorry I put it in to the text the last time, it's my first ebuild.
You should not hard-code the version number in the ebuild if possible. The license seems to be GPL-2. Did you actually check that this works fine for x86 and sparc? New packages should be set to ~your_arch at first unless you really really know it works. The RDEPEND is automagically set to DEPEND when not specified. DEPEND should not be empty, if there's nothing else to depend on just insert virtual/glibc there (not sure if this is official policy, but seen it quite often - satai, do you know better?). I don't think installing the license file is necessary when it is an exact copy of the one specified in the LICENSE variable. Have fun! :-)
Created attachment 11642 [details] Another corrected ebuild Changed the things, phosphan told me
Have finally added it to portage. Setting herd to text-markup.
thanks phosphan, text-markup is great.