diff options
author | Michael Conrad Tilstra <tadpol@gentoo.org> | 2001-04-24 22:07:29 +0000 |
---|---|---|
committer | Michael Conrad Tilstra <tadpol@gentoo.org> | 2001-04-24 22:07:29 +0000 |
commit | 2a9a5f55a78b059da66f6350e15f0a91893461ed (patch) | |
tree | 3331684cf8cc234748e21192f693f5df64f3c4ab /app-text/dictd-elements | |
parent | dyn_compile return value fix (diff) | |
download | historical-2a9a5f55a78b059da66f6350e15f0a91893461ed.tar.gz historical-2a9a5f55a78b059da66f6350e15f0a91893461ed.tar.bz2 historical-2a9a5f55a78b059da66f6350e15f0a91893461ed.zip |
- dictionaray databases for dictd
Diffstat (limited to 'app-text/dictd-elements')
-rw-r--r-- | app-text/dictd-elements/dictd-elements-2000.22.07.ebuild | 31 | ||||
-rw-r--r-- | app-text/dictd-elements/files/digest-dictd-elements-2000.22.07 | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-text/dictd-elements/dictd-elements-2000.22.07.ebuild b/app-text/dictd-elements/dictd-elements-2000.22.07.ebuild new file mode 100644 index 000000000000..beb772426b02 --- /dev/null +++ b/app-text/dictd-elements/dictd-elements-2000.22.07.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd-elements/dictd-elements-2000.22.07.ebuild,v 1.1 2001/04/24 22:07:29 michael Exp $ + +#P= +A=elements-20001107-pre.tar.gz +S=${WORKDIR} +DESCRIPTION="" +SRC_URI="ftp://ftp.dict.org/pub/dict/pre/${A}" +HOMEPAGE="http://www.dict.org" + +DEPEND=">=app-text/dictd-1.5.5" + +src_install () { + dodir /usr/lib/dict + insinto /usr/lib/dict + doins elements.dict.dz + doins elements.index +} + +pkg_postinst() { +if [ -f /etc/dict/dictd.conf ]; then +cat >> /etc/dict/dictd.conf << __EOF__ +database elements { data "/usr/lib/dict/elements.dict.dz" + index "/usr/lib/dict/elements.index" } +__EOF__ +fi +} + +# vim: ai et sw=4 ts=4 diff --git a/app-text/dictd-elements/files/digest-dictd-elements-2000.22.07 b/app-text/dictd-elements/files/digest-dictd-elements-2000.22.07 new file mode 100644 index 000000000000..2b3386637d5f --- /dev/null +++ b/app-text/dictd-elements/files/digest-dictd-elements-2000.22.07 @@ -0,0 +1 @@ +MD5 84f116609be2716134cdc08de3e8cb7a elements-20001107-pre.tar.gz |