diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-30 20:11:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-30 20:11:58 +0000 |
commit | 05bc19487b4e854a0b04fa65a01be7a03102efc5 (patch) | |
tree | 49eeca340514d3304e93bc876c137f622634f848 /media-video/flumotion | |
parent | Version bump, thanks to octo and bonbons on #collectd for the help! (diff) | |
download | gentoo-2-05bc19487b4e854a0b04fa65a01be7a03102efc5.tar.gz gentoo-2-05bc19487b4e854a0b04fa65a01be7a03102efc5.tar.bz2 gentoo-2-05bc19487b4e854a0b04fa65a01be7a03102efc5.zip |
refactor a bit
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-video/flumotion')
-rw-r--r-- | media-video/flumotion/flumotion-0.8.1.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/media-video/flumotion/flumotion-0.8.1.ebuild b/media-video/flumotion/flumotion-0.8.1.ebuild index d3669fdc7f6d..7fb1090dc5e7 100644 --- a/media-video/flumotion/flumotion-0.8.1.ebuild +++ b/media-video/flumotion/flumotion-0.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild,v 1.2 2011/03/30 20:02:28 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild,v 1.3 2011/03/30 20:11:58 ssuominen Exp $ EAPI=3 @@ -17,7 +17,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" -RDEPEND="" +RDEPEND="" # Where is this documented? DEPEND="${RDEPEND} sys-devel/gettext doc? ( dev-python/epydoc ) @@ -50,6 +50,14 @@ src_install() { emake -j1 DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README RELEASE TODO + keepdir /var/log/flumotion + keepdir /var/run/flumotion + + newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion + + # /usr/share/hal/fdi/policy/20thirdparty/91-flumotion-device-policy.fdi + rm -rf "${D}"/usr/share/hal + dodir /etc/flumotion dodir /etc/flumotion/managers dodir /etc/flumotion/managers/default @@ -64,18 +72,10 @@ src_install() { insinto /etc/flumotion doins default.pem || die popd - - keepdir /var/log/flumotion - keepdir /var/run/flumotion - - newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion - - # /usr/share/hal/fdi/policy/20thirdparty/91-flumotion-device-policy.fdi - rm -rf "${D}"/usr/share/hal } pkg_postinst() { - if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then + if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then die "Unable to add flumotion user and flumotion group." fi |