summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smathers <jsin@gentoo.org>2007-07-27 11:46:23 +0000
committerJason Smathers <jsin@gentoo.org>2007-07-27 11:46:23 +0000
commite4b2cf8965ca2c7182cecc0931c6abf31ea0e0d1 (patch)
tree9b672dcbea15539325117b4efb9132ab71dd8c5f
parentnew USE flag 'presets' for net-news/rsstool (diff)
downloadsunrise-e4b2cf8965ca2c7182cecc0931c6abf31ea0e0d1.tar.gz
sunrise-e4b2cf8965ca2c7182cecc0931c6abf31ea0e0d1.tar.bz2
sunrise-e4b2cf8965ca2c7182cecc0931c6abf31ea0e0d1.zip
net-news/rsstool: New Ebuild for bug 186778
svn path=/sunrise/; revision=4342
-rw-r--r--net-news/rsstool/ChangeLog11
-rw-r--r--net-news/rsstool/Manifest7
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch20
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak-presets.patch42
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak.patch31
-rw-r--r--net-news/rsstool/metadata.xml5
-rw-r--r--net-news/rsstool/rsstool-1.0.0_rc2.ebuild37
7 files changed, 153 insertions, 0 deletions
diff --git a/net-news/rsstool/ChangeLog b/net-news/rsstool/ChangeLog
new file mode 100644
index 000000000..ac45f237b
--- /dev/null
+++ b/net-news/rsstool/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-news/rsstool
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 27 Jul 2007; Jason Smathers (jsin) <jason.smathers@gmail.com>
+ +files/rsstool-1.0.0_rc2-Makefile.patch,
+ +files/rsstool-1.0.0_rc2-config.mak.patch,
+ +files/rsstool-1.0.0_rc2-config.mak-presets.patch, +metadata.xml,
+ +rsstool-1.0.0_rc2.ebuild:
+ New Ebuild for bug 186778
+
diff --git a/net-news/rsstool/Manifest b/net-news/rsstool/Manifest
new file mode 100644
index 000000000..eee811038
--- /dev/null
+++ b/net-news/rsstool/Manifest
@@ -0,0 +1,7 @@
+AUX rsstool-1.0.0_rc2-Makefile.patch 398 RMD160 def27015807df265434363e94224005e9e56f40f SHA1 da830cd1374aad726bc6cc31340abc81855bc60c SHA256 f085bd03e0d0a26ec0c78cef0658addd1ff803312a9337874b4aeaeb73b4e25c
+AUX rsstool-1.0.0_rc2-config.mak-presets.patch 795 RMD160 5845672d4dc2d4c4f0bb75fe30625b68a320b33a SHA1 65486c508b69cdc74b10d6aa741eac68616b3124 SHA256 0e24ca72be1551342153fd8232c1a1aae46a4dc16ae5a1af3ab4dd1249cccb37
+AUX rsstool-1.0.0_rc2-config.mak.patch 548 RMD160 c3fe0968c45a5d9f13f533f81580e01aee92d6c6 SHA1 c19ba944d213af9fd7e72e7826361a4d9efbc7ea SHA256 1411785367d4d0d783558fc34588d14eb55192e5db9a2689fef5f80a9e0b1935
+DIST rsstool-1.0.0rc2-src.tar.gz 115012 RMD160 fb715c5230628f2c110d114e12d5e6d55bff4c42 SHA1 505d7334d430ae0a5d3b659b5442d0e086c96942 SHA256 396ad9037e0fcb045928bce6e6cbff674483a2be992ee3cd7ff5c7e24d4bfab2
+EBUILD rsstool-1.0.0_rc2.ebuild 880 RMD160 29660ecee0dc1cd69a17e832aa42a44bb28edb32 SHA1 45bed949add8e39dd009add9ced8cac0f7e4283e SHA256 113f37d9dfcaba7d931644af38c2b0a47d064268edf8178d436b8d29535a8fd8
+MISC ChangeLog 395 RMD160 69b2b63e1e36c8ccf2416b393b2a7fd8dd9618be SHA1 89fd176bbcd2c45b475907ca994fa2c84f592984 SHA256 3eea76af5d96801b4c376d383378de515bb32f6530b2cb055e2ddfcd70663646
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
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 000000000..11834d539
--- /dev/null
+++ b/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch
@@ -0,0 +1,20 @@
+--- Makefile.orig 2007-07-27 04:37:19.000000000 -0400
++++ Makefile 2007-07-27 07:04:28.000000000 -0400
+@@ -2,7 +2,6 @@
+
+ CC=gcc
+ CFLAGS=-I. -Wall -W -O3 -DHAVE_CONFIG_H
+-LDFLAGS=-s
+ TARGET=rsstool
+
+
+@@ -50,7 +49,8 @@
+ $(CC) $(OBJECTS) $(LDFLAGS) -o $@
+
+ install: all
+- cp -vf $(TARGET) $(DESTDIR)$(BINDIR)/
++ mkdir -p $(DESTDIR)$(BINDIR)
++ cp -vf $(TARGET) $(DESTDIR)$(BINDIR)
+
+
+ uninstall:
diff --git a/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak-presets.patch b/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak-presets.patch
new file mode 100644
index 000000000..277ec700f
--- /dev/null
+++ b/net-news/rsstool/files/rsstool-1.0.0_rc2-config.mak-presets.patch
@@ -0,0 +1,42 @@
+--- config.mak.orig 2007-07-27 03:51:04.000000000 -0400
++++ config.mak 2007-07-27 06:44:32.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
+@@ -46,8 +40,8 @@
+ endif
+
+ # enable this if you want to use hacks
+-#USE_HACKS=1
+-#CFLAGS+=-DUSE_HACKS
++USE_HACKS=1
++CFLAGS+=-DUSE_HACKS
+
+ # enable this if you want experimental features that didn't make it into the 1.0.0 release
+ #USE_POST1_0=1
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 000000000..fefdec78c
--- /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 000000000..7e3286984
--- /dev/null
+++ b/net-news/rsstool/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/net-news/rsstool/rsstool-1.0.0_rc2.ebuild b/net-news/rsstool/rsstool-1.0.0_rc2.ebuild
new file mode 100644
index 000000000..57d9290f0
--- /dev/null
+++ b/net-news/rsstool/rsstool-1.0.0_rc2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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="presets"
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ econf
+ use presets && epatch "${FILESDIR}/${P}-config.mak-presets.patch"
+ use presets || 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
+}