Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ebuild] KVirc 3.0.1 Stable
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Tue Jun 08, 2004 4:59 pm    Post subject: [ebuild] KVirc 3.0.1 Stable Reply with quote

Code:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-3.0.0.ebuild,v 1.5 2004/05/29 16:16:27 pvdabeel Exp $

inherit eutils kde

DESCRIPTION="An advanced IRC Client"
HOMEPAGE="http://www.kvirc.net/"
SRC_URI="ftp://ftp.kvirc.de/pub/${PN}/${PV}/source/${P}.tar.bz2"

LICENSE="kvirc"
SLOT="3"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE="kde ipv6 ssl oss esd"

RDEPEND="esd? ( media-sound/esound )
        ssl? ( dev-libs/openssl )
        oss? ( media-libs/audiofile )
        >=x11-libs/qt-3
        kde? ( >=kde-base/kdelibs-3 )
        sys-devel/gettext"

DEPEND="${RDEPEND}
        sys-apps/gawk
        sys-apps/grep
        sys-devel/libtool
        sys-apps/sed"

use debug && RESTRICT="nostrip"

src_compile() {

        # use aa even when kde support is disabled; remove the splash screen
        # to speed up the startup.
        local myconf="--with-aa-fonts --without-splash-screen
                --with-big-channels --with-pizza"

        # For myconf, we can't do it the easy way (use_with) because the configure
        # script will assume we're telling it not to include support.
        myconf="${myconf}
                `use_with debug debug-symbols`"
        use kde || myconf="${myconf} --without-kde-support --without-arts-support"
        use ipv6 || myconf="${myconf} --without-ipv6-support"
        use esd || myconf="${myconf} --without-esd-support"
        use ssl || myconf="${myconf} --without-ssl-support"

        [ "$ARCH" == "x86" ] && myconf="$myconf --with-ix86-asm"

        need-autoconf 2.5
        need-automake 1.5

        econf ${myconf} || die "failed to configure"
        emake || die "failed to make"
}

src_install() {
        emake install DESTDIR=${D} || die
        emake docs DESTDIR=${D} || die
        dodoc ChangeLog INSTALL README TODO
}


spero possa essere utile a qualcuno :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum