summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-25 20:41:39 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-25 20:41:39 +0000
commit222d1540548a15dbc36c0f5ac3746dbbc7701bc3 (patch)
tree6ee3ac2d5b27e8d818b8ef9cc70a4a1ed100eef7
parentmasking the new ices ebuild until the python shared library is (diff)
downloadgentoo-2-222d1540548a15dbc36c0f5ac3746dbbc7701bc3.tar.gz
gentoo-2-222d1540548a15dbc36c0f5ac3746dbbc7701bc3.tar.bz2
gentoo-2-222d1540548a15dbc36c0f5ac3746dbbc7701bc3.zip
Initial adding of ebuild to portage. Leaving masked until I know the
status of the shared python library.
-rw-r--r--net-misc/ices/ChangeLog11
-rw-r--r--net-misc/ices/files/digest-ices-0.2.31
-rw-r--r--net-misc/ices/files/docdir.diff88
-rw-r--r--net-misc/ices/ices-0.2.3.ebuild51
4 files changed, 151 insertions, 0 deletions
diff --git a/net-misc/ices/ChangeLog b/net-misc/ices/ChangeLog
new file mode 100644
index 000000000000..39ee13800eed
--- /dev/null
+++ b/net-misc/ices/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/ices
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ices/ChangeLog,v 1.1 2002/07/25 20:41:39 raker Exp $
+
+*ices-0.2.3 (25 Jul 2002)
+
+ 25 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ ices-0.2.3.ebuild, files/digset-ices-0.2.3, files/docdir.diff :
+
+ Initial adding of ebuild to portage. Leaving masked until I know the
+ status of the shared python library.
diff --git a/net-misc/ices/files/digest-ices-0.2.3 b/net-misc/ices/files/digest-ices-0.2.3
new file mode 100644
index 000000000000..faeadb235aa9
--- /dev/null
+++ b/net-misc/ices/files/digest-ices-0.2.3
@@ -0,0 +1 @@
+MD5 8133a5abd7e68842841e509e08d7cef7 ices-0.2.3.tar.gz 331223
diff --git a/net-misc/ices/files/docdir.diff b/net-misc/ices/files/docdir.diff
new file mode 100644
index 000000000000..8350c62f0a2a
--- /dev/null
+++ b/net-misc/ices/files/docdir.diff
@@ -0,0 +1,88 @@
+diff -urN ices-0.2.3/Makefile.in ices-0.2.3-modified/Makefile.in
+--- ices-0.2.3/Makefile.in Wed May 1 21:02:51 2002
++++ ices-0.2.3-modified/Makefile.in Tue Jul 23 19:46:15 2002
+@@ -80,7 +80,7 @@
+ UNAME = @UNAME@
+ VERSION = @VERSION@
+ XMLCONFIG = @XMLCONFIG@
+-docdir = @docdir@
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+ moddir = @moddir@
+
+ AUTOMAKE_OPTIONS = foreign
+diff -urN ices-0.2.3/conf/Makefile.in ices-0.2.3-modified/conf/Makefile.in
+--- ices-0.2.3/conf/Makefile.in Wed May 1 21:02:56 2002
++++ ices-0.2.3-modified/conf/Makefile.in Tue Jul 23 19:47:59 2002
+@@ -80,7 +80,7 @@
+ UNAME = @UNAME@
+ VERSION = @VERSION@
+ XMLCONFIG = @XMLCONFIG@
+-docdir = @docdir@
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+ moddir = @moddir@
+
+ AUTOMAKE_OPTIONS = foreign
+diff -urN ices-0.2.3/doc/Makefile.in ices-0.2.3-modified/doc/Makefile.in
+--- ices-0.2.3/doc/Makefile.in Wed May 1 21:02:57 2002
++++ ices-0.2.3-modified/doc/Makefile.in Tue Jul 23 19:46:31 2002
+@@ -80,7 +80,7 @@
+ UNAME = @UNAME@
+ VERSION = @VERSION@
+ XMLCONFIG = @XMLCONFIG@
+-docdir = @docdir@
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+ moddir = @moddir@
+
+ AUTOMAKE_OPTIONS = foreign
+diff -urN ices-0.2.3/libshout/Makefile.in ices-0.2.3-modified/libshout/Makefile.in
+--- ices-0.2.3/libshout/Makefile.in Wed May 1 21:02:52 2002
++++ ices-0.2.3-modified/libshout/Makefile.in Tue Jul 23 19:43:02 2002
+@@ -515,9 +515,9 @@
+
+ install-data-local:
+ mkdir -p $(DESTDIR)$(includedir)/shout
+- mkdir -p $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION)/example
+- $(INSTALL) -m 0644 $(top_srcdir)/README $(top_srcdir)/AUTHORS $(top_srcdir)/COPYING $(top_srcdir)/CHANGES $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION)
+- $(INSTALL) -m 0644 $(top_srcdir)/example/Makefile $(top_srcdir)/example/example.c $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION)/example
++ mkdir -p $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)/example
++ $(INSTALL) -m 0644 $(top_srcdir)/README $(top_srcdir)/AUTHORS $(top_srcdir)/COPYING $(top_srcdir)/CHANGES $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
++ $(INSTALL) -m 0644 $(top_srcdir)/example/Makefile $(top_srcdir)/example/example.c $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)/example
+ $(INSTALL) -m 0644 $(top_srcdir)/shout.h $(DESTDIR)$(includedir)/shout
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+diff -urN ices-0.2.3/libshout/doc/Makefile.in ices-0.2.3-modified/libshout/doc/Makefile.in
+--- ices-0.2.3/libshout/doc/Makefile.in Wed May 1 21:02:53 2002
++++ ices-0.2.3-modified/libshout/doc/Makefile.in Tue Jul 23 19:34:30 2002
+@@ -80,7 +80,7 @@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+
+ doc_DATA = index.html overview.html initialization.html connection.html datastreaming.html metadata.html datastructures.html shout_conn_t.html shout_connect.html shout_disconnect.html shout_sleep.html shout_init_connection.html shout_send_data.html shout_update_metadata.html style.css example.html example_c.html reference.html errorhandling.html shout_strerror.html
+
+diff -urN ices-0.2.3/src/Makefile.in ices-0.2.3-modified/src/Makefile.in
+--- ices-0.2.3/src/Makefile.in Wed May 1 21:02:54 2002
++++ ices-0.2.3-modified/src/Makefile.in Tue Jul 23 19:47:26 2002
+@@ -80,7 +80,7 @@
+ UNAME = @UNAME@
+ VERSION = @VERSION@
+ XMLCONFIG = @XMLCONFIG@
+-docdir = @docdir@
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+ moddir = @moddir@
+
+ AUTOMAKE_OPTIONS = foreign
+diff -urN ices-0.2.3/src/playlist/Makefile.in ices-0.2.3-modified/src/playlist/Makefile.in
+--- ices-0.2.3/src/playlist/Makefile.in Wed May 1 21:02:55 2002
++++ ices-0.2.3-modified/src/playlist/Makefile.in Tue Jul 23 19:47:42 2002
+@@ -80,7 +80,7 @@
+ UNAME = @UNAME@
+ VERSION = @VERSION@
+ XMLCONFIG = @XMLCONFIG@
+-docdir = @docdir@
++docdir = /usr/share/doc/$(PACKAGE)-$(VERSION)
+ moddir = @moddir@
+
+ AUTOMAKE_OPTIONS = foreign
diff --git a/net-misc/ices/ices-0.2.3.ebuild b/net-misc/ices/ices-0.2.3.ebuild
new file mode 100644
index 000000000000..960f6fc849e3
--- /dev/null
+++ b/net-misc/ices/ices-0.2.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ices/ices-0.2.3.ebuild,v 1.1 2002/07/25 20:41:39 raker Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="icecast MP3 streaming client. supports on the fly re-encoding"
+SRC_URI="http://www.icecast.org/releases/${P}.tar.gz"
+HOMEPAGE="http://www.icecast.org"
+LICENSE="GPL"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+SLOT="0"
+
+DEPEND="net-misc/icecast
+ media-sound/lame
+ oggvorbis? ( >=media-libs/libvorbis-1.0 )"
+
+src_unpack ()
+{
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/docdir.diff
+}
+
+src_compile ()
+{
+ local myconf
+ #use python && myconf="--with-python-includes=/usr/include/python2.2/"
+ use perl && myconf=${myconf}" --with-perl"
+
+ if [ "`use oggvorbis`" ]; then
+ myconf="${myconf} --with-vorbis=/usr/lib
+ fi
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/ices \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --host=${CHOST} \
+ --with-lame \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install ()
+{
+
+ make DESTDIR=${D} install || die "make install failed"
+
+}
+