# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.3-r1.ebuild,v 1.11 2004/06/30 02:52:49 vapier Exp $ inherit eutils DESCRIPTION="Miscellaneous files" HOMEPAGE="http://www.gnu.org/directory/miscfiles.html" SRC_URI="ftp://ftp.gnu.org/gnu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390" IUSE="uclibc" DEPEND="virtual/libc uclibc? ( app-arch/gzip )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/tasks.info.diff epatch ${FILESDIR}/${P}-Makefile.diff } src_install() { einstall || die dodoc GNU* NEWS ORIGIN README dict-README if use uclibc ; then cd ${D}/usr/share/dict # need to remove the hardlinks, else gzip won't work rm -f words extra.words README gzip -9 * ln -s web2.gz words ln -s web2a.gz extra.words cd .. # which app uses these? rm -rf misc state rfc #rm -f misc/GNU-manifesto #gzip -9 misc/* state/* rfc/* cd ${S} fi }