blob: 4b44c4fe5d62d40ca3a77271cbaca259a1b7de19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2005 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.15 2005/05/30 02:41:49 solar 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="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE=""
DEPEND="elibc_uclibc? ( app-arch/gzip )"
RDEPEND=""
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 elibc_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
}
|