blob: 410c58edfda0ab3b7b30402a3c5d412784dea21b (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild,v 1.4 2002/07/10 13:45:38 aliz Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Linux dynamic loader & linker"
SRC_URI="ftp://ftp.ods.com/pub/linux/${A}"
RDEPEND="sys-libs/lib-compat"
LICENSE="LD.SO"
SLOT="0"
KEYWORDS="x86"
src_unpack() {
unpack ${A}
cd ${S}
cp instldso.sh instldso.orig
sed -e "s:usr/man:usr/share/man:g" \
instldso.orig > instldso.sh
}
src_install() {
PREFIX=${D} ./instldso.sh --force
# Remove stuff that comes with glibc
rm -rf ${D}/sbin ${D}/usr/bin
rm ${D}/usr/share/man/man8/ldconfig*
preplib /
dodoc COPYRIGHT README ld-so/example/README*
}
|