blob: 20e9580d902c951f8866f2ebf3e9137463ceff69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/ninja/ninja-1.5.9_pre9.ebuild,v 1.9 2004/06/24 23:07:51 agriffis Exp $
# Get rid of underscore in package name
MY_PV=`echo ${PV} | sed -e 's/_.*//'`
S=${WORKDIR}/${PN}-${MY_PV}
DESCRIPTION="Ninja IRC Client"
HOMEPAGE="http://ninja.qoop.org/"
SRC_URI="http://ninja.qoop.org/ftp/sources/${P/_/}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64 ~sparc ~ppc"
IUSE="ncurses ipv6 ssl"
DEPEND="virtual/glibc
ncurses? ( sys-libs/ncurses )
ssl? ( dev-libs/openssl )"
src_compile() {
local myconf
use ipv6 && myconf="${myconf} --enable-ipv6"
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
einstall
}
|