Pham Ngoc Hai personal web site

Syndicate

red5-bin-0.8.0.ebuild
 
Written by Pham Ngoc Hai, on 20-10-2009 11:31

It has been sometime since I played with red5, many people asked me about my ebuild's errors :D.

I recently work with AS3 and Flex, so here comes the ebuild again.

 

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Open Source Flash Server written in Java"
HOMEPAGE="http://osflash.org/red5"
SRC_URI="http://www.red5.org/downloads/0_8/red5-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~amd64 ~x86"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.5
>=dev-java/ant-core-1.5"
RDEPEND=">=virtual/jdk-1.5"
RED5_HOME=/opt/red5
pkg_setup() {
enewgroup red5
enewuser red5 -1 -1 ${RED5_HOME} red5
}
src_install() {
newinitd "${FILESDIR}"/red5.initd red5
newconfd "${FILESDIR}"/red5.confd red5
doenvd "${FILESDIR}"/21red5
if use doc ; then
dodoc doc/*
else
rm -rf doc
fi
if ! use source ; then
rm src.zip
fi
dodir ${RED5_HOME}
cp -rp * ${D}${RED5_HOME}
fowners -R red5:red5 ${RED5_HOME}
fperms 0750 ${RED5_HOME}/red5.sh
dosym ${RED5_HOME}/webapps /var/lib/red5-webapps
}

 

Last update: 20-10-2009 11:32

Published in : Computer stuff, Gentoo
Quote this article in website Favoured Print Send to friend Related articles Save this to del.icio.us

Users' Comments (0) RSS feed comment

No comment posted

Add your comment



mXcomment 1.0.9 © 2007-2012 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev   Next >


Search

Calendar

 Jan   February 2012   Mar

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
26272829 
VC Funding Behavioral Synthesis

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai