diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-05-01 15:33:20 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-05-01 15:33:20 +0000 |
commit | af35179edaecdc10262d15d5e0b62cb2e3b1182b (patch) | |
tree | 2a1d64ff9b0a410f5cb6764f0b38515f17f5b3b6 /www-apps/swish-e/swish-e-2.4.3.ebuild | |
parent | adding pdf support flag to local for swish-e (diff) | |
download | gentoo-2-af35179edaecdc10262d15d5e0b62cb2e3b1182b.tar.gz gentoo-2-af35179edaecdc10262d15d5e0b62cb2e3b1182b.tar.bz2 gentoo-2-af35179edaecdc10262d15d5e0b62cb2e3b1182b.zip |
New version of swish-e; bug 37165 can be closed
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'www-apps/swish-e/swish-e-2.4.3.ebuild')
-rw-r--r-- | www-apps/swish-e/swish-e-2.4.3.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/www-apps/swish-e/swish-e-2.4.3.ebuild b/www-apps/swish-e/swish-e-2.4.3.ebuild new file mode 100644 index 000000000000..e5e70aae7e39 --- /dev/null +++ b/www-apps/swish-e/swish-e-2.4.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/swish-e-2.4.3.ebuild,v 1.1 2005/05/01 15:33:20 mcummings Exp $ + +inherit perl-module + +DESCRIPTION="Simple Web Indexing System for Humans - Enhanced" +HOMEPAGE="http://www.swish-e.org/" +SRC_URI="http://www.swish-e.org/distribution/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="perl pdf mp3" + +DEPEND=">=sys-libs/zlib-1.1.3 + dev-libs/libxml2 + pdf? ( app-text/xpdf ) + perl? ( dev-perl/libwww-perl + dev-perl/HTML-Parser + dev-perl/HTML-Tagset + dev-perl/MIME-Types + dev-perl/HTML-Template + dev-perl/HTML-FillInForm + dev-perl/Template-Toolkit + mp3? ( dev-perl/MP3-Tag ) + )" + + +src_unpack() { + if has_version 'www-apps/swish-e'; then + ewarn "Your old swish-e indexes may not be compatible with this" + ewarn "version." + epause 10 + fi + unpack ${A} + cd ${S} +} +src_compile() { + cd ${S} + econf || die "configuration failed" + make || die "emake failed" +} + +src_install() { + dobin src/swish-e || die + dodoc INSTALL README + make DESTDIR="${D}" install + if use perl ; then + cd ${S}/perl + myconf="SWISHBINDIR=${D}/usr/bin SWISHIGNOREVER SWISHSKIPTEST " + perl-module_src_compile + cd ${S}/perl + perl-module_src_install + fi +} + +pkg_postinst() { + + einfo "If you wish to be able to index MS Word documents, " + einfo "emerge app-text/catdoc" + einfo + einfo "If you wish to be able to index MS Excel Spreadsheets," + einfo "emerge dev-perl/SpreadSheet-ParseExcel and" + einfo "dev-perl/HTML-Parser" + +} |