# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.3-r2.ebuild,v 1.4 2003/06/24 14:33:18 agriffis Exp $ inherit eutils IUSE="miscfiles-full" S=${WORKDIR}/${P} DESCRIPTION="Miscellaneous files" SRC_URI="ftp://ftp.gnu.org/gnu/${PN}/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/directory/miscfiles.html" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 amd64 ~ppc sparc alpha mips ~hppa ~arm" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/tasks.info.diff epatch ${FILESDIR}/${P}-Makefile.diff } src_install() { einstall || die # Remove this, as it causes language clash in ispell rm ${D}/usr/share/dict/words # if we're not doing the full install, then get rid of # some "non-wordsource" stuff if ! use miscfiles-full; then rm -rf ${D}/usr/share/misc rm -rf ${D}/usr/share/info rm -rf ${D}/usr/share/rfc rm -rf ${D}/usr/share/state fi dodoc GNU* NEWS ORIGIN README dict-README }