diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 08:32:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 08:32:57 +0000 |
commit | 4c1c48e4c2d2eaae74e6b065da14ea11b09f2fcb (patch) | |
tree | 0e23cc83008b9af418bce3d95a60b94bad8038b0 /dev-libs/djb | |
parent | initial ebuild (diff) | |
download | gentoo-2-4c1c48e4c2d2eaae74e6b065da14ea11b09f2fcb.tar.gz gentoo-2-4c1c48e4c2d2eaae74e6b065da14ea11b09f2fcb.tar.bz2 gentoo-2-4c1c48e4c2d2eaae74e6b065da14ea11b09f2fcb.zip |
initial ebuild
Diffstat (limited to 'dev-libs/djb')
-rw-r--r-- | dev-libs/djb/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/djb/djb-0.5.2.ebuild | 41 | ||||
-rw-r--r-- | dev-libs/djb/files/digest-djb-0.5.2 | 1 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/djb/ChangeLog b/dev-libs/djb/ChangeLog new file mode 100644 index 000000000000..fe0226b37342 --- /dev/null +++ b/dev-libs/djb/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-libs/djb +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/djb/ChangeLog,v 1.1 2004/03/04 08:32:57 vapier Exp $ + +*djb-0.5.2 (04 Mar 2004) + + 04 Mar 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/dev-libs/djb/djb-0.5.2.ebuild b/dev-libs/djb/djb-0.5.2.ebuild new file mode 100644 index 000000000000..f880befc9488 --- /dev/null +++ b/dev-libs/djb/djb-0.5.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/djb/djb-0.5.2.ebuild,v 1.1 2004/03/04 08:32:57 vapier Exp $ + +inherit gcc fixheadtails + +DESCRIPTION="library created from code by Dan Bernstein" +HOMEPAGE="http://www.fefe.de/djb/" +SRC_URI="http://www.fefe.de/djb/djb-${PV}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/glibc" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + ht_fix_file */Makefile.static + for cc in */conf-cc ; do echo "$(gcc-getCC) ${CFLAGS}" > ${cc} ; done + for ld in */conf-ld ; do echo "$(gcc-getCC) ${LDFLAGS}" > ${ld} ; done +} + +src_compile() { + emake || die +} + +src_install() { + for lib in */*.a ; do + newlib.a ${lib} libdjb-$(basename ${lib}) || die "newlib failed" + done + for man in */*.3 ; do + newman ${man} ${PN}-$(basename ${man}) + done + exeinto /usr/lib/${PN} + doexe *.pl || die "doexe .pl failed" + dodoc CHANGES TODO +} diff --git a/dev-libs/djb/files/digest-djb-0.5.2 b/dev-libs/djb/files/digest-djb-0.5.2 new file mode 100644 index 000000000000..0be048893769 --- /dev/null +++ b/dev-libs/djb/files/digest-djb-0.5.2 @@ -0,0 +1 @@ +MD5 0d3f74048af53822f07306fba6349ea8 djb-0.5.2.tar.bz2 51048 |