From 741642c7f567e0aefe20812c9c08eb4496d042c6 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Sat, 12 Apr 2003 10:25:07 +0000 Subject: cleanup and DEPEND fix --- dev-util/fenris/ChangeLog | 6 +++- dev-util/fenris/fenris-0.07m.ebuild | 68 +++++++++++++++++++++---------------- 2 files changed, 43 insertions(+), 31 deletions(-) (limited to 'dev-util/fenris') diff --git a/dev-util/fenris/ChangeLog b/dev-util/fenris/ChangeLog index efe83764f141..cf97e7d5edc7 100644 --- a/dev-util/fenris/ChangeLog +++ b/dev-util/fenris/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for dev-util/fenris # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/ChangeLog,v 1.5 2003/02/12 06:42:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/fenris/ChangeLog,v 1.6 2003/04/12 10:25:07 seemant Exp $ *fenris-0.07m (07 Dec 2002) + 12 Apr 2003; Seemant Kulleen fenris-0.07m.ebuild: + Ebuild cleanup -- and added termcap-compat to DEPEND, closing bug #19138 by + PIERRE Benoi^t + 21 Jan 2003; Martin Holzer =sys-apps/portage-2.0.47-r10 + sys-libs/libtermcap-compat app-misc/screen sys-libs/ncurses sys-devel/gdb" + RDEPEND="sys-apps/gawk" src_unpack() { - unpack ${PN}.tgz ; cd ${S} + unpack ${A} + cd ${S} + epatch ${FILESDIR}/makefile.diff + epatch ${FILESDIR}/build.diff } src_compile() { - patch -p0 < ${FILESDIR}/makefile.diff || die "can't patch Makefile" - patch -p0 < ${FILESDIR}/build.diff || die "can't patch Build" - # We need to obtain libc version, this should be a reliable way :) - # because internal script doesn't detect libc version during the emerge - LIBC=`ls /lib/libc-* | awk -F- '{print $2}' | awk -F.so '{print $1}'` + # We need to obtain libc version, this should be a reliable way :) + # because internal script doesn't detect libc version during the emerge + LIBC=`ls /lib/libc-* | awk -F- '{print $2}' | awk -F.so '{print $1}'` - make all CFLAGS="$CFLAGS" LIBCVER=${LIBC} || die + make all CFLAGS="$CFLAGS" LIBCVER=${LIBC} || die } src_install() { - # We are doing make install by hand - cd ${S} - dodir /usr/share/fenris + # We are doing make install by hand + cd ${S} + dodir /usr/share/fenris - # Man pages - doman doc/man/* + # Man pages + doman doc/man/* - # Documents - dodir /usr/share/fenris/doc - insinto /usr/share/fenris/doc - doins doc/* + # Documents + dodir /usr/share/fenris/doc + insinto /usr/share/fenris/doc + doins doc/* - # Fingeprints - insinto /etc - doins fnprints.dat + # Fingeprints + insinto /etc + doins fnprints.dat - # Executables - exeinto /usr/bin - doexe fenris fprints getfprints ragnarok fenris-bug ragsplit dress aegir nc-aegir spliter.pl + # Executables + into /usr + dobin fenris fprints getfprints ragnarok fenris-bug \ + ragsplit dress aegir nc-aegir spliter.pl - einfo "These new tools are installed in /usr/bin:" - einfo "fenris fprints getfprints ragnarok fenris-bug ragsplit dress aegir nc-aegir spliter.pl" - einfo "Please refer to the manual (i.e: man fenris) for further informations" + einfo "These new tools are installed in /usr/bin:" + einfo "fenris fprints getfprints ragnarok fenris-bug ragsplit " + einfo "dress aegir nc-aegir spliter.pl" + einfo "Please refer to the manpage for fenris for further information" } -- cgit v1.2.3-65-gdbad