Version bump for ripping-cluster
This commit is contained in:
69
media-video/ripping-cluster/ripping-cluster-0.1.5.ebuild
Normal file
69
media-video/ripping-cluster/ripping-cluster-0.1.5.ebuild
Normal file
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils
|
||||
inherit git
|
||||
|
||||
DESCRIPTION="Distributed ripping cluster manager using HandBrake as a backend"
|
||||
HOMEPAGE="http://wiki.sihnon.net/index.php/Ripping-cluster"
|
||||
|
||||
EGIT_REPO_URI="https://git.sihnon.net/public/handbrake-cluster-webui.git"
|
||||
EGIT_COMMIT="release-${PV}"
|
||||
|
||||
LICENSE="bsd"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="webui +worker"
|
||||
|
||||
RDEPEND=">=dev-lang/php-5.3
|
||||
>=dev-php/smarty-3.0
|
||||
>=dev-libs/sihnon-php-lib-0.1
|
||||
>=dev-php/PEAR-Net_Gearman-0.2.3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
enewuser media -1 /sbin/nologin -1 "users"
|
||||
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
git_src_unpack
|
||||
git_branch
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
insinto "/usr/lib/${PN}"
|
||||
|
||||
doins -r source
|
||||
|
||||
if use webui; then
|
||||
doins -r webui
|
||||
fi
|
||||
|
||||
if use worker; then
|
||||
doins -r worker
|
||||
fi
|
||||
|
||||
dodir /etc/ripping-cluster
|
||||
insinto /etc/ripping-cluster
|
||||
doins private/{config.php,dbconfig.conf}.dist
|
||||
|
||||
newinitd build/ripping-cluster-worker.init-gentoo ripping-cluster-worker
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
elog "Please now edit config.php and dbconfig.conf."
|
||||
elog "You will need to create the database manually with this version"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user