summaryrefslogtreecommitdiff
blob: fe260ef37c6aa47de78a930a331a23b19c08c630 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.6.13.ebuild,v 1.4 2002/07/11 06:30:20 drobbins Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="A minimal libc"
SRC_URI="http://www.fefe.de/dietlibc/${P}.tar.bz2"
HOMEPAGE="http://www.fefe.de/dietlibc"


src_unpack() {
  unpack ${A}
  mkdir ${S}/include/asm
  cp /usr/include/asm/posix_types.h ${S}/include/asm
}

src_compile() {

    try make

}

src_install () {

    cd ${S}
    dodir /usr/include/dietlibc
    cp -a include/* ${D}/usr/include/dietlibc
    dolib.a dietlibc.a
    exeinto /usr/lib/dietlibc
    doexe start.o
    dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO


}