diff options
Diffstat (limited to 'media-tv/sopcast/sopcast-3.0.1.ebuild')
-rw-r--r-- | media-tv/sopcast/sopcast-3.0.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-tv/sopcast/sopcast-3.0.1.ebuild b/media-tv/sopcast/sopcast-3.0.1.ebuild new file mode 100644 index 0000000..71620a4 --- /dev/null +++ b/media-tv/sopcast/sopcast-3.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils +RESTRICT="nomirror" + +MY_P="sp-auth" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="SopCast free P2P Internet TV binary" +LICENSE="SopCast-unknown-license" +HOMEPAGE="http://www.sopcast.com/" +SRC_URI="http://download.sopcast.cn/download/${MY_P}.tgz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +# All dependencies might not be listed, since the binary blob's homepage only lists libstdc++ +RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat ) + x86? ( >=virtual/libstdc++-3.3 )" + +DEPEND="${RDEPEND}" + +src_unpack() { + ewarn "SopCast binary blob is distributed without version info in its package." + ewarn "Thus, in case this ebuild fails, you might want to remove your " $MY_SRC + ewarn "from /usr/portage/distfiles and check whether they have release a newer" + ewarn "version on their homepage at" + ewarn $HOMEPAGE + + unpack ${A} +} + +src_install() { + exeinto /opt/${PN} + doexe sp-sc-auth + dosym /opt/${PN}/sp-sc-auth /usr/bin/sp-sc + dodoc Readme +} |