mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Remove znc-0.000.ebuild and znc.spec
It really is nice to be added to distris :) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@885 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header$
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="znc - Advanced IRC Bouncer"
|
||||
HOMEPAGE="http://znc.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="ssl ipv6 modules debug perl sasl"
|
||||
|
||||
DEPEND="ssl? ( >=dev-libs/openssl-0.9.7d )
|
||||
perl? ( dev-lang/perl )
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable modules) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable perl) \
|
||||
$(use_enable sasl) \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die "make install failed."
|
||||
dohtml docs/*.html || die "dohtml failed"
|
||||
dodoc AUTHORS znc.conf || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "You can browse the documentation here:"
|
||||
einfo " /usr/share/doc/${PF}/*.html.gz"
|
||||
einfo "Also check out the online documentation at:"
|
||||
einfo " http://znc.sourceforge.net"
|
||||
einfo " "
|
||||
einfo "You can find an example znc.conf file here:"
|
||||
einfo " /usr/share/doc/${PF}/znc.conf.gz"
|
||||
einfo " "
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
Name: znc
|
||||
Version: 0.053
|
||||
Release: 1
|
||||
Packager: imaginos@imaginos.net
|
||||
Summary: znc - an advanced IRC bouncer
|
||||
License: GPL
|
||||
Group: Applications/Communications
|
||||
URL: http://sourceforge.net/projects/znc/
|
||||
BuildRequires: gcc >= 3.2
|
||||
BuildRequires: openssl >= 0.9.7d
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Prefix: /usr
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
|
||||
%description
|
||||
ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, transparent DCC bouncing, and c++ module support to name a few.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
./configure --prefix=%{prefix}
|
||||
make all
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%doc AUTHORS
|
||||
%doc docs/*.html docs/*.txt docs/*.pm
|
||||
%{prefix}
|
||||
|
||||
Reference in New Issue
Block a user