Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912 - Event-0.85.ebuild (new package)
Summary: Event-0.85.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 908
  Show dependency tree
 
Reported: 2002-03-01 13:35 UTC by phoen][x
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Event-0.85.ebuild (Event-0.85.ebuild,618 bytes, text/plain)
2002-03-01 13:35 UTC, phoen][x
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phoen][x 2002-03-01 13:35:00 UTC
"Event - A Generic Perl Event Loop" - i would have to lie if i knew exactly 
what this thing is (its some kinda network module), but i know that dvdrip 
needs it for clustering, and that should be a reason to have it in portage.

-phoen][x-
Comment 1 phoen][x 2002-03-01 13:35:43 UTC
Created attachment 272 [details]
Event-0.85.ebuild
Comment 2 phoen][x 2002-03-02 04:54:18 UTC
i changed the header of the ebuild. but u should also change 
dev-perl/Storable (the Event ebuild is a modified Storable ebuild), to not 
use the A= thingy.
i'll paste the diff:

--- Event-0.85.ebuild   2002-03-02 11:47:48.000000000 +0100
+++ Event-0.85.ebuild.old       2002-03-02 11:52:39.000000000 +0100
@@ -3,10 +3,11 @@
 # phoen][x <eqc_phoenix@gmx.de>
 # $Header$
 
+A=${P}.tar.gz
 S=${WORKDIR}/${P}
 CATEGORY="dev-perl"
 DESCRIPTION="The Perl Event Module"
-SRC_URI="http://www.cpan.org/modules/by-module/Event/${P}.tar.gz"
+SRC_URI="http://www.cpan.org/modules/by-module/Event/${A}.tar.gz"
 HOMEPAGE="http://www.cpan.org/modules/by-module/Event/${P}.readme"
 
 DEPEND=">=sys-devel/perl-5"
Comment 3 phoen][x 2002-03-02 05:23:12 UTC
i did modify the ebuild again, cause azarah told me not to use the 
"try"-commands anymore.this is the newest version of the whole ebuid:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# phoen][x <eqc_phoenix@gmx.de>
# $Header$

S=${WORKDIR}/${P}
CATEGORY="dev-perl"
DESCRIPTION="The Perl Event Module"
SRC_URI="http://www.cpan.org/modules/by-module/Event/${P}.tar.gz"
HOMEPAGE="http://www.cpan.org/modules/by-module/Event/${P}.readme"

DEPEND=">=sys-devel/perl-5"

src_compile() {
    perl Makefile.PL
    make || die
}

src_install () {
    make PREFIX=${D}/usr \
        INSTALLMAN3DIR=${D}/usr/share/man/man3 install || die
    dodoc ChangeLog MANIFEST README
}
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-21 18:03:16 UTC
added to portage as dev-perl/Event. thanks