Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89101 - irssi-svn-0.8.10_rc5.ebuild
Summary: irssi-svn-0.8.10_rc5.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
: 91717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-14 10:03 UTC by Joseph Yen
Modified: 2005-05-14 16:14 UTC (History)
1 user (show)

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


Attachments
irssi-svn-0.8.10_rc5.ebuild (irssi-svn-0.8.10_rc5.ebuild,1.69 KB, text/plain)
2005-04-14 10:05 UTC, Joseph Yen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Yen 2005-04-14 10:03:11 UTC
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion perl-module

DESCRIPTION="A modular textUI IRC client with IPv6 support."
HOMEPAGE="http://irssi.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="ipv6 perl ssl"

RDEPEND=">=dev-libs/glib-2.2.1
    sys-libs/ncurses
    perl? ( dev-lang/perl )
    !net-irc/irssi
    !net-irc/irssi-cvs"
DEPEND="${RDEPEND}
    www-client/lynx
    nls? ( sys-devel/gettext )
    >=sys-devel/autoconf-2.58"


src_unpack() {

    ESVN_REPO_URI="http://svn.irssi.org/repos/irssi/trunk/"
    ESVN_PROJECT="irssi"
    ESVN_PATCHES="*.diff"
    ESVN_BOOTSTRAP="./autogen.sh"
    subversion_src_unpack

}

src_compile() {
    export WANT_AUTOCONF=2.5

    local myconf="--with-glib2 --with-proxy --with-ncurses"

    #perl is auto-detected and must be explicitly disabled
    if use perl ;then
        einfo $"\033[1;31m USE PERL!! \033[m"
        einfo $"\033[1;33m ${myconf} \033[m"
    else
        einfo $"\033[1;31m NO USE PERL!! \033[m"
        myconf="${myconf} --with-perl=no"
        einfo $"\033[1;33m ${myconf} \033[m"
    fi
    econf ${myconf} \
        $(use_enable ipv6) \
        $(use_enable ssl) \
        || die "./configuer failed"
    einfo $"\033[1;31m ${myconf} $(use_enable ipv6)  $(use_enable ssl) \033[m"

    emake || die "emake failed"
}

src_install() {

    if use perl; then
        cd ${S}/src/perl/common; perl-module_src_prep
        cd ${S}/src/perl/irc;    perl-module_src_prep
        cd ${S}/src/perl/textui; perl-module_src_prep
        cd ${S}/src/perl/ui;     perl-module_src_prep
        cd ${S}
    fi

    make DESTDIR=${D} \
        docdir=/usr/share/doc/${PF} \
        gnulocaledir=${D}/usr/share/locale \
        install || die

    prepalldocs
    dodoc AUTHORS ChangeLog README TODO NEWS
    cd ${S}/docs
    dohtml -r . || die "dohtml failed"
}

Reproducible: Always
Steps to Reproduce:
Comment 1 Joseph Yen 2005-04-14 10:05:07 UTC
Created attachment 56272 [details]
irssi-svn-0.8.10_rc5.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 10:15:19 UTC
irssi-0.8.10_rc5-r1 and irssi-cvs-0.2 is in portage. What is this ebuild?
Comment 3 Joseph Yen 2005-04-14 10:51:00 UTC
irssi in the irssi svn site is newer than irssi cvs
Comment 4 Sven Wegener gentoo-dev 2005-05-07 08:33:48 UTC
*** Bug 91717 has been marked as a duplicate of this bug. ***
Comment 5 Sven Wegener gentoo-dev 2005-05-14 16:14:23 UTC
I just commited an ebuild based on yours and on the irssi-cvs and irssi ebuilds
to CVS. Named irssi-svn-0.3 to allow transition from irssi-cvs-0.2 once we remove
irssi-cvs. irssi-svn is p.masked in the meantime.