# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-text/sword/sword-1.5.6.ebuild,v 1.4 2004/03/12 09:18:44 mr_bones_ Exp $ DESCRIPTION="library for bible reading software" HOMEPAGE="http://www.crosswire.org/sword/" #SRC_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-1.5.7.tar.gz" SRC_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/${P/_/}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND="virtual/glibc sys-libs/zlib" pkg_setup() { einfo einfo PLEASE disable the sandbox feature: einfo einfo FEATURES=-sandbox emerge sword einfo } src_compile() { FEATURES=-sandbox cd ${WORKDIR}/${PN}-${PV}/src/mgr/ epatch ${FILESDIR}/installmgr.patch cd ${WORKDIR}/${PN}-${PV}/ #econf ./usrinst.sh --enable-shared --with-curl --without-clucene emake || die "parallel make failed" } src_install() { einstall make install_config dodoc AUTHORS CODINGSTYLE INSTALL ChangeLog README cp -R samples examples ${D}/usr/share/doc/${PF} dohtml doc/api-documentation/html/* } pkg_postinst() { einfo "" einfo "Check out http://www.crosswire.org/sword/modules/" einfo "to download modules that you would like to enhance" einfo "the library with. Follow module installation" einfo "instructions found on the web or in INSTALL.gz found" einfo "in /usr/share/doc/${PF}" einfo "" }