| 1 |
# Copyright 1999-2006 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/scrollz/scrollz-1.9.5.ebuild,v 1.6 2006/10/26 18:53:13 jokey Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 6 |
|
| 7 |
MY_P=ScrollZ-${PV}
|
| 8 |
|
| 9 |
DESCRIPTION="Advanced IRC client based on ircII"
|
| 10 |
SRC_URI="ftp://ftp.du.se/pub/mirrors/ScrollZ/source/${MY_P}.tar.gz"
|
| 11 |
HOMEPAGE="http://www.scrollz.com/"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 ia64 ~ppc ~ppc-macos x86"
|
| 16 |
IUSE="ipv6 socks5 ssl"
|
| 17 |
|
| 18 |
DEPEND="virtual/libc
|
| 19 |
ssl? ( dev-libs/openssl )"
|
| 20 |
|
| 21 |
S="${WORKDIR}"/${MY_P}
|
| 22 |
|
| 23 |
src_unpack() {
|
| 24 |
unpack ${A}
|
| 25 |
# Darwin/OSX has GCC4 and needs this
|
| 26 |
epatch ${FILESDIR}/${P}-gcc4.patch
|
| 27 |
}
|
| 28 |
|
| 29 |
src_compile() {
|
| 30 |
econf \
|
| 31 |
--with-default-server=irc.freenode.net \
|
| 32 |
$(use_enable ipv6) \
|
| 33 |
$(use_enable socks5) \
|
| 34 |
$(use_with ssl) \
|
| 35 |
|| die "econf failed"
|
| 36 |
emake || die "emake failed"
|
| 37 |
}
|
| 38 |
|
| 39 |
src_install() {
|
| 40 |
dodir /usr/share/man/man1
|
| 41 |
einstall \
|
| 42 |
sharedir="${D}"/usr/share \
|
| 43 |
mandir="${D}"/usr/share/man/man1 \
|
| 44 |
install \
|
| 45 |
|| die "einstall failed"
|
| 46 |
dodoc ChangeLog* README* || die "dodoc failed"
|
| 47 |
|
| 48 |
# fix erms of manpage
|
| 49 |
fperms 644 /usr/share/man/man1/scrollz.1
|
| 50 |
}
|