51 lines
1.1 KiB
Bash
51 lines
1.1 KiB
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-p2p/hx/hx-0.4.11.ebuild,v 1.5 2007/04/06 22:20:17 betelgeuse Exp $
|
|
|
|
WANT_AUTOCONF="latest"
|
|
WANT_AUTOMAKE="latest"
|
|
|
|
inherit autotools
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="ppc ~sparc x86"
|
|
MY_P=mhxd-${PV}
|
|
|
|
DESCRIPTION="This is a Hotline 1.5+ compatible *nix Hotline Client in CLI. It supports IRC compatibility."
|
|
SRC_URI="http://projects.acidbeats.de/${MY_P}.tar.bz2"
|
|
HOMEPAGE="http://hotlinex.sf.net/"
|
|
|
|
IUSE="ssl"
|
|
|
|
DEPEND="
|
|
ssl? ( >=dev-libs/openssl-0.9.6d )
|
|
>=sys-libs/zlib-1.1.4"
|
|
|
|
SLOT="0"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
|
|
cd "${S}"
|
|
eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
econf \
|
|
`use_enable ssl idea` \
|
|
`use_enable ssl cipher` \
|
|
`use_enable ssl hope` \
|
|
`use_enable ssl compress` \
|
|
--enable-hx || die "bad configure"
|
|
emake || die "compile problem"
|
|
make install || die "compile problem"
|
|
}
|
|
|
|
src_install() {
|
|
dodoc AUTHORS INSTALL PROBLEMS README* ChangeLog TODO NEWS run/hx/ghxvars run/hx/ghxvars.jp \
|
|
run/hx/hxrc run/hx/hxvars
|
|
|
|
dobin run/hx/bin/hx
|
|
}
|