diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-03-13 22:34:30 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-03-13 22:34:30 +0000 |
commit | 87479d921f15d9c13fa3c0b76e2319c4a28349ab (patch) | |
tree | 58e90b58dc27a4db90951f512293ac0838fc3b01 /net-irc/ultimate/ultimate-3.0.2.ebuild | |
parent | Install menu entry (diff) | |
download | gentoo-2-87479d921f15d9c13fa3c0b76e2319c4a28349ab.tar.gz gentoo-2-87479d921f15d9c13fa3c0b76e2319c4a28349ab.tar.bz2 gentoo-2-87479d921f15d9c13fa3c0b76e2319c4a28349ab.zip |
Version bump, stable x86, and drop old
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-irc/ultimate/ultimate-3.0.2.ebuild')
-rw-r--r-- | net-irc/ultimate/ultimate-3.0.2.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-irc/ultimate/ultimate-3.0.2.ebuild b/net-irc/ultimate/ultimate-3.0.2.ebuild new file mode 100644 index 000000000000..86b5ec8d66c0 --- /dev/null +++ b/net-irc/ultimate/ultimate-3.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ultimate/ultimate-3.0.2.ebuild,v 1.1 2007/03/13 22:34:30 armin76 Exp $ + +inherit eutils fixheadtails + +MY_P="Ultimate${PV/_/.}" + +DESCRIPTION="An IRCd server based on DALnet's DreamForge IRCd." +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +HOMEPAGE="http://www.shadow-realm.org/" + +KEYWORDS="~x86 ~sparc ~ppc" +SLOT="0" +LICENSE="GPL-2" +IUSE="ssl" + +DEPEND="virtual/libc + ssl? ( dev-libs/openssl )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/3.0.0_rc2-config.patch + + ht_fix_file configure +} + +src_compile() { + econf \ + --sysconfdir=/etc/ultimateircd \ + --localstatedir=/var/lib/ultimateircd \ + $(use_enable ssl openssl) \ + || die "econf failed" + emake || die "Make failed" +} + +src_install() { + dodir /etc/ultimateircd + keepdir /var/{lib,log,run}/ultimateircd + fowners nobody /var/{lib,log,run}/ultimateircd + + einstall \ + sysconfdir=${D}/etc/ultimateircd \ + localstatedir=${D}/var/lib/ultimateircd \ + networksubdir=${D}/etc/ultimateircd/networks \ + || die "einstall failed" + + rm -rf ${D}/usr/{{ircd,kill,rehash},bin/{ircdchk,ssl-{cert,search}.sh}} ${D}/var/lib/ultimateircd/logs + dosym /var/log/ultimateircd /var/lib/ultimateircd/logs + + mv ${D}/usr/bin/ircd ${D}/usr/bin/ultimateircd + mv ${D}/usr/bin/mkpasswd ${D}/usr/bin/ultimateircd-mkpasswd + + newinitd ${FILESDIR}/ultimateircd.rc-3.0.0 ultimateircd + newconfd ${FILESDIR}/ultimateircd.conf ultimateircd +} |