diff options
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/slrn/ChangeLog | 8 | ||||
-rw-r--r-- | net-nntp/slrn/files/slrn-0.9.9_p1-dont-strip.patch | 13 | ||||
-rw-r--r-- | net-nntp/slrn/slrn-0.9.9_p1.ebuild | 50 |
3 files changed, 70 insertions, 1 deletions
diff --git a/net-nntp/slrn/ChangeLog b/net-nntp/slrn/ChangeLog index c6d6a6e1f559..211a0f632c10 100644 --- a/net-nntp/slrn/ChangeLog +++ b/net-nntp/slrn/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-nntp/slrn # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/ChangeLog,v 1.16 2008/08/22 19:53:45 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/ChangeLog,v 1.17 2008/10/07 21:31:16 swegener Exp $ + +*slrn-0.9.9_p1 (07 Oct 2008) + + 07 Oct 2008; Sven Wegener <swegener@gentoo.org> + +files/slrn-0.9.9_p1-dont-strip.patch, +slrn-0.9.9_p1.ebuild: + Version bump, bug #235753. 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/net-nntp/slrn/files/slrn-0.9.9_p1-dont-strip.patch b/net-nntp/slrn/files/slrn-0.9.9_p1-dont-strip.patch new file mode 100644 index 000000000000..73f622c4a689 --- /dev/null +++ b/net-nntp/slrn/files/slrn-0.9.9_p1-dont-strip.patch @@ -0,0 +1,13 @@ +--- slrn-0.9.9p1/src/Makefile.in ++++ slrn-0.9.9p1/src/Makefile.in +@@ -205,8 +205,8 @@ + installlocales: + cd ../po; $(MAKE) DESTDIR=$(DESTDIR) LOCALEDIR=$(LOCALEDIR) install + installbin: +- $(INSTALL) -m 755 -s $(OBJDIR)/slrn $(DEST_BINDIR) +- -$(INSTALL) -m 755 -s $(OBJDIR)/slrnpull $(DEST_BINDIR) ++ $(INSTALL) -m 755 $(OBJDIR)/slrn $(DEST_BINDIR) ++ -$(INSTALL) -m 755 $(OBJDIR)/slrnpull $(DEST_BINDIR) + install: all installdirs installbin installdocs installslang installlocales + + # The symlinks target is for my own private use. It simply creates the object diff --git a/net-nntp/slrn/slrn-0.9.9_p1.ebuild b/net-nntp/slrn/slrn-0.9.9_p1.ebuild new file mode 100644 index 000000000000..dd619c392273 --- /dev/null +++ b/net-nntp/slrn/slrn-0.9.9_p1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.9_p1.ebuild,v 1.1 2008/10/07 21:31:16 swegener Exp $ + +inherit eutils + +MY_P="${P/_}" + +DESCRIPTION="a s-lang based newsreader" +HOMEPAGE="http://slrn.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="nls ssl uudeview" + +RDEPEND="virtual/mta + app-arch/sharutils + >=sys-libs/slang-2.1.3 + ssl? ( dev-libs/openssl ) + uudeview? ( dev-libs/uulib )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-dont-strip.patch +} + +src_compile() { + econf \ + --with-docdir=/usr/share/doc/${PF} \ + --with-slrnpull \ + $(use_with uudeview) \ + $(use_enable nls) \ + $(use_with ssl) \ + || die "econf failed" + + emake || die "emake failed." +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "emake install failed." + prepalldocs +} |