Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912

Summary: Event-0.85.ebuild (new package)
Product: Gentoo Linux Reporter: phoen][x <fisi.tilman.klar>
Component: New packagesAssignee: Matthew Kennedy (RETIRED) <mkennedy>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 908    
Attachments: Event-0.85.ebuild

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