summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-06-23 21:48:37 +0000
committerJon Hood <squinky86@gentoo.org>2004-06-23 21:48:37 +0000
commitac4aa7d347a287fe3407c2e6c14e6ff872a7a665 (patch)
tree56abfd20f6fb0ad1a7061cfa267838848c4ab584 /app-text/sword/sword-1.5.8_pre1.ebuild
parentversion bumped ipv6 patch and marked -r12 as stable (Manifest recommit) (diff)
downloadgentoo-2-ac4aa7d347a287fe3407c2e6c14e6ff872a7a665.tar.gz
gentoo-2-ac4aa7d347a287fe3407c2e6c14e6ff872a7a665.tar.bz2
gentoo-2-ac4aa7d347a287fe3407c2e6c14e6ff872a7a665.zip
version bump, fixes #48523
Diffstat (limited to 'app-text/sword/sword-1.5.8_pre1.ebuild')
-rw-r--r--app-text/sword/sword-1.5.8_pre1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/app-text/sword/sword-1.5.8_pre1.ebuild b/app-text/sword/sword-1.5.8_pre1.ebuild
new file mode 100644
index 000000000000..246ba62bff47
--- /dev/null
+++ b/app-text/sword/sword-1.5.8_pre1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sword/sword-1.5.8_pre1.ebuild,v 1.1 2004/06/23 21:48:37 squinky86 Exp $
+
+DESCRIPTION="Library for Bible reading software"
+HOMEPAGE="http://www.crosswire.org/sword/"
+
+LICENSE="GPL-2"
+SLOT="0"
+# temporary ebuild to fix bug #48523- please do not mark stable
+KEYWORDS="~x86 ~ppc ~amd64"
+SRC_URI="http://dev.gentoo.org/~squinky86/files/${P}.tar.bz2"
+IUSE="icu curl"
+RDEPEND="virtual/glibc
+ sys-libs/zlib
+ curl? ( >=net-misc/curl-7.10.8 )
+ icu? ( dev-libs/icu )"
+DEPEND="${RDEPEND}
+ >=sys-devel/automake-1.7.2"
+
+src_compile() {
+ export WANT_AUTOMAKE="1.6"
+ cd ${S}
+ ./autogen.sh \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "autogen.sh failed"
+ econf --without-clucene --without-lucene `use_with icu` `use_with curl` || die "configure failed"
+ emake || die "compile failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+ dodir /etc
+ insdir /etc
+ doins ${FILESDIR}/sword.conf
+
+ dodoc AUTHORS CODINGSTYLE INSTALL ChangeLog README
+ cp -R samples examples ${D}/usr/share/doc/${PF}
+ dohtml doc/api-documentation/html/*
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "To install modules for SWORD, you can emerge:"
+ einfo " app-text/sword-modules"
+ einfo "or check out http://www.crosswire.org/sword/modules/"
+ einfo "to download modules manually that you would like to"
+ einfo "use the library with. Follow module installation"
+ einfo "instructions found on the web or in INSTALL.gz found"
+ einfo "in /usr/share/doc/${PF}"
+ einfo ""
+}