Hi, /me found this ebuild a bit boring, so I decided to do something about it ;) Added functionality: install SWISHE.pm when perl is in USE. Hope you like it, Rogi <DIFF> +use perl && inherit perl-module + S=${WORKDIR}/${P} -DESCRIPTION="Simple Web Indexing System for Humans - Ehanced" +DESCRIPTION="Simple Web Indexing System for Humans - Enhanced" SRC_URI="http://www.swish-e.org/Download/${P}.tar.gz" HOMEPAGE="http://www.swish-e.org" +IUSE="perl" KEYWORDS="~x86" SLOT="0" LICENSE="GPL-2" @@ -15,15 +18,19 @@ dev-perl/libwww-perl" src_compile() { - - econf || die - - emake || die + econf || die "configure failed" + emake || die "emake failed" + # closing stdin causes e-swish build system use a + # non-interactive mode <mkennedy@gentoo.org> + use perl && cd perl \ + && exec <&- \ + && perl-module_src_compile } src_install () { - dobin src/swish-e - + dobin src/swish-e dodoc INSTALL README + use perl && cd perl \ + && perl-module_src_install } </DIFF>
Created attachment 14140 [details] swish-e-2.2.2-r1.ebuild non-interactive tip comes from IPC-ShareLite-0.08.ebuild
thanks rigo:) all done