/[gentoo-x86]/dev-libs/djb/djb-0.5.2.ebuild
Gentoo

Contents of /dev-libs/djb/djb-0.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Sep 23 17:18:13 2009 UTC (4 years, 10 months ago) by patrick
Branch: MAIN
Changes since 1.6: +3 -3 lines
Remove virtual/libc
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/djb/djb-0.5.2.ebuild,v 1.6 2005/05/30 18:24:46 swegener Exp $
4
5 inherit toolchain-funcs fixheadtails
6
7 DESCRIPTION="library created from code by Dan Bernstein"
8 HOMEPAGE="http://www.fefe.de/djb/"
9 SRC_URI="http://www.fefe.de/djb/djb-${PV}.tar.bz2"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE=""
15
16 DEPEND=""
17
18 S=${WORKDIR}/${PN}
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23 ht_fix_file */Makefile.static
24 for cc in */conf-cc ; do echo "$(tc-getCC) ${CFLAGS}" > ${cc} ; done
25 for ld in */conf-ld ; do echo "$(tc-getCC) ${LDFLAGS}" > ${ld} ; done
26 }
27
28 src_compile() {
29 emake || die
30 }
31
32 src_install() {
33 for lib in */*.a ; do
34 newlib.a ${lib} libdjb-$(basename ${lib}) || die "newlib failed"
35 done
36 for man in */*.3 ; do
37 newman ${man} ${PN}-$(basename ${man})
38 done
39 exeinto /usr/lib/${PN}
40 doexe *.pl || die "doexe .pl failed"
41 dodoc CHANGES TODO
42 }

  ViewVC Help
Powered by ViewVC 1.1.20