summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smathers <jsin@gentoo.org>2007-08-25 19:56:31 +0000
committerJason Smathers <jsin@gentoo.org>2007-08-25 19:56:31 +0000
commit3926e1d34e49b8a4faba2e54c9267940d454c259 (patch)
treebd9d4e84593d725577eb6c4970aa8c8638181984 /net-news/rsstool
parenttouchup USE=pam handling #190212 (diff)
downloadgentoo-2-3926e1d34e49b8a4faba2e54c9267940d454c259.tar.gz
gentoo-2-3926e1d34e49b8a4faba2e54c9267940d454c259.tar.bz2
gentoo-2-3926e1d34e49b8a4faba2e54c9267940d454c259.zip
new ebuild for bug #186778
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-news/rsstool')
-rw-r--r--net-news/rsstool/ChangeLog15
-rw-r--r--net-news/rsstool/Manifest24
-rw-r--r--net-news/rsstool/files/digest-rsstool-1.0.0_rc2-r13
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch31
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak.patch31
-rw-r--r--net-news/rsstool/metadata.xml13
-rw-r--r--net-news/rsstool/rsstool-1.0.0_rc2-r1.ebuild36
7 files changed, 153 insertions, 0 deletions
diff --git a/net-news/rsstool/ChangeLog b/net-news/rsstool/ChangeLog
new file mode 100644
index 000000000000..1ef52445fa90
--- /dev/null
+++ b/net-news/rsstool/ChangeLog
@@ -0,0 +1,15 @@
+# ChangeLog for net-news/rsstool
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/ChangeLog,v 1.1 2007/08/25 19:56:31 jsin Exp $
+
+*rsstool-1.0.0_rc2-r1 (25 Aug 2007)
+
+ 25 Aug 2007; Jason Smathers (jsin) <jsin@gentoo.org>
+ +files/rsstool-1.0.0_rc2-Makefile.patch,
+ +files/rsstool-1.0.0_rc2-config.mak.patch, +metadata.xml,
+ +rsstool-1.0.0_rc2-r1.ebuild:
+ New ebuild for bug #186778, I had this in Sunrise which I will now remove.
+ This revision removes the presets patch as it is broken upstream and will be
+ removed upstream soon. Furthermore, the Makefile is patched to respect user
+ CFLAGS and LDFLAGS and to stop the forced stripping of binaries.
+
diff --git a/net-news/rsstool/Manifest b/net-news/rsstool/Manifest
new file mode 100644
index 000000000000..ff6d7cef5078
--- /dev/null
+++ b/net-news/rsstool/Manifest
@@ -0,0 +1,24 @@
+AUX rsstool-1.0.0_rc2-Makefile.patch 645 RMD160 c50c10f646c5149b76779d75791f474e63cc8844 SHA1 6b7a9ac3d45b482266cbad0641efc8500c156b85 SHA256 732f58c66653839ed4c5eb6ea40c09e99b3c2238da0f8a97a3eff0fabca805e5
+MD5 5153828f3f7b0dac099bd4d7c36fd443 files/rsstool-1.0.0_rc2-Makefile.patch 645
+RMD160 c50c10f646c5149b76779d75791f474e63cc8844 files/rsstool-1.0.0_rc2-Makefile.patch 645
+SHA256 732f58c66653839ed4c5eb6ea40c09e99b3c2238da0f8a97a3eff0fabca805e5 files/rsstool-1.0.0_rc2-Makefile.patch 645
+AUX rsstool-1.0.0_rc2-config.mak.patch 548 RMD160 c3fe0968c45a5d9f13f533f81580e01aee92d6c6 SHA1 c19ba944d213af9fd7e72e7826361a4d9efbc7ea SHA256 1411785367d4d0d783558fc34588d14eb55192e5db9a2689fef5f80a9e0b1935
+MD5 6dd0d17d9955fe3f407b90e0c3986ff1 files/rsstool-1.0.0_rc2-config.mak.patch 548
+RMD160 c3fe0968c45a5d9f13f533f81580e01aee92d6c6 files/rsstool-1.0.0_rc2-config.mak.patch 548
+SHA256 1411785367d4d0d783558fc34588d14eb55192e5db9a2689fef5f80a9e0b1935 files/rsstool-1.0.0_rc2-config.mak.patch 548
+DIST rsstool-1.0.0rc2-src.tar.gz 115012 RMD160 fb715c5230628f2c110d114e12d5e6d55bff4c42 SHA1 505d7334d430ae0a5d3b659b5442d0e086c96942 SHA256 396ad9037e0fcb045928bce6e6cbff674483a2be992ee3cd7ff5c7e24d4bfab2
+EBUILD rsstool-1.0.0_rc2-r1.ebuild 827 RMD160 22f685fa24ed2df2a8d83d958b79d4fdb23e8f58 SHA1 ad1d9ee57445c0aaee77264fa1cc3a4d679d0dff SHA256 fcd4da6988cdeab034f60d2160e41a16281a1c7532498d15d2dd64bc8b8caeeb
+MD5 6438e8df14a9cd827953dc0a647749a5 rsstool-1.0.0_rc2-r1.ebuild 827
+RMD160 22f685fa24ed2df2a8d83d958b79d4fdb23e8f58 rsstool-1.0.0_rc2-r1.ebuild 827
+SHA256 fcd4da6988cdeab034f60d2160e41a16281a1c7532498d15d2dd64bc8b8caeeb rsstool-1.0.0_rc2-r1.ebuild 827
+MISC ChangeLog 647 RMD160 7a933d89a88f4bcaa2d295dd5a46791c18eef5b4 SHA1 14b3840d052dcd5a3b5a0c16c273f7e938816fb3 SHA256 036c615b9bf7c7686f683eb9378d3bc83197e47ec478d91c64fc627aa0d0269e
+MD5 97a6b207506343533332977b33572d2d ChangeLog 647
+RMD160 7a933d89a88f4bcaa2d295dd5a46791c18eef5b4 ChangeLog 647
+SHA256 036c615b9bf7c7686f683eb9378d3bc83197e47ec478d91c64fc627aa0d0269e ChangeLog 647
+MISC metadata.xml 375 RMD160 b60bdc0ccf998511d72959254dbf2877afdf9c1c SHA1 3a2d0df5de018a5976951c00d03ef42b86845150 SHA256 2d5ed8ed8f3358df406f0400ab446b7ed6678abb02185493d14e4f9bb9e74e47
+MD5 b482947622794e9e81d5ccd1ba437081 metadata.xml 375
+RMD160 b60bdc0ccf998511d72959254dbf2877afdf9c1c metadata.xml 375
+SHA256 2d5ed8ed8f3358df406f0400ab446b7ed6678abb02185493d14e4f9bb9e74e47 metadata.xml 375
+MD5 461b0619d575d9d63f49d7f9cea2e33c files/digest-rsstool-1.0.0_rc2-r1 262
+RMD160 8fdafd51cac4b335d6a31fd35972b20de419f503 files/digest-rsstool-1.0.0_rc2-r1 262
+SHA256 d094b1f169b3c639747dc8f07a80a88bae9a521b2b20eb015369a986a959b408 files/digest-rsstool-1.0.0_rc2-r1 262
diff --git a/net-news/rsstool/files/digest-rsstool-1.0.0_rc2-r1 b/net-news/rsstool/files/digest-rsstool-1.0.0_rc2-r1
new file mode 100644
index 000000000000..f548de02ec8b
--- /dev/null
+++ b/net-news/rsstool/files/digest-rsstool-1.0.0_rc2-r1
@@ -0,0 +1,3 @@
+MD5 da6895dd9c53e1c9e863013f6e303cb2 rsstool-1.0.0rc2-src.tar.gz 115012
+RMD160 fb715c5230628f2c110d114e12d5e6d55bff4c42 rsstool-1.0.0rc2-src.tar.gz 115012
+SHA256 396ad9037e0fcb045928bce6e6cbff674483a2be992ee3cd7ff5c7e24d4bfab2 rsstool-1.0.0rc2-src.tar.gz 115012
diff --git a/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch b/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch
new file mode 100644
index 000000000000..3ee9486d66a8
--- /dev/null
+++ b/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch
@@ -0,0 +1,31 @@
+--- ./Makefile.orig 2007-08-25 15:06:58.000000000 -0400
++++ ./Makefile 2007-08-25 12:04:28.000000000 -0400
+@@ -1,8 +1,14 @@
+ .PHONY: all clean distclean install uninstall
+
+ CC=gcc
++ifdef CFLAGS
++CFLAGS+=-I. -DHAVE_CONFIG_H
++else
+ CFLAGS=-I. -Wall -W -O3 -DHAVE_CONFIG_H
+-LDFLAGS=-s
++endif
++#ifndef LDFLAGS
++#LDFLAGS=-s
++#endif
+ TARGET=rsstool
+
+
+@@ -50,8 +56,11 @@
+ $(CC) $(OBJECTS) $(LDFLAGS) -o $@
+
+ install: all
+- cp -vf $(TARGET) $(DESTDIR)$(BINDIR)/
++ mkdir -p $(DESTDIR)$(BINDIR)
++ cp -vf $(TARGET) $(DESTDIR)$(BINDIR)
+
++install-strip: install
++ strip $(DESTDIR)$(BINDIR)/$(TARGET)
+
+ uninstall:
+ rm -f $(DESTDIR)$(BINDIR)/$(TARGET)
diff --git a/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak.patch b/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak.patch
new file mode 100644
index 000000000000..fefdec78cfa2
--- /dev/null
+++ b/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak.patch
@@ -0,0 +1,31 @@
+--- config.mak.orig 2007-07-27 03:51:04.000000000 -0400
++++ config.mak 2007-07-27 06:43:43.000000000 -0400
+@@ -12,26 +12,20 @@
+ includedir=/usr/include
+ endif
+
+-libdir=/usr/local/lib
+-
+ ifndef libdir
+ libdir=/usr/lib
+ endif
+
+-DESTDIR=
+-
+-BINDIR=/usr/local/bin
+-
+ ifndef BINDIR
+ BINDIR=/usr/bin
+ endif
+
+-INSTALL=/usr/bin/install -c
++INSTALL=/usr/bin/install -D
+ INSTALL_PROGRAM=${INSTALL}
+ INSTALL_DATA=${INSTALL} -m 644
+
+ ifndef INSTALL
+-INSTALL=install -c
++INSTALL=install -D
+ INSTALL_PROGRAM=${INSTALL}
+ INSTALL_DATA=${INSTALL} -m 644
+ endif
diff --git a/net-news/rsstool/metadata.xml b/net-news/rsstool/metadata.xml
new file mode 100644
index 000000000000..2afa29ad2040
--- /dev/null
+++ b/net-news/rsstool/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-news</herd>
+<maintainer>
+<email>jsin@gentoo.org</email>
+<name>Jason Smathers (jsin)</name>
+</maintainer>
+<longdescription lang="en">
+RSStool is a tool to read, parse, merge, and write RSS (and Atom) feeds.
+</longdescription>
+</pkgmetadata>
+
diff --git a/net-news/rsstool/rsstool-1.0.0_rc2-r1.ebuild b/net-news/rsstool/rsstool-1.0.0_rc2-r1.ebuild
new file mode 100644
index 000000000000..6c990b5eca2d
--- /dev/null
+++ b/net-news/rsstool/rsstool-1.0.0_rc2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/rsstool-1.0.0_rc2-r1.ebuild,v 1.1 2007/08/25 19:56:31 jsin Exp $
+
+inherit versionator eutils
+MY_PV=$(replace_version_separator 3 '')
+MY_P=${PN}-${MY_PV}
+S="${WORKDIR}/${MY_P}"-src/src
+DESCRIPTION="RSStool is a tool to read, parse, merge, and write RSS (and Atom) feeds."
+HOMEPAGE="http://rsstool.y7.ath.cx/"
+SRC_URI="http://download.berlios.de/${PN}/${MY_P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-libs/libxml2"
+RDEPEND="dev-libs/libxml2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ econf
+ epatch "${FILESDIR}/${P}-config.mak.patch"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" BINDIR="/usr/bin" install || die "emake install failed"
+ dohtml ../*.html
+}