1 [ -z "${SRC_URI}" ] && inherit git-2
9 if [ -z ${EGIT_REPO_URI} ] ||
[ -z "${SRC_URI}" ]; then
11 if [ -z ${GMPC_PLUGIN} ]; then
13 GMPC_PLUGIN
="${gmpc-${GMPC_PLUGIN}}"
15 EGIT_REPO_URI
="git://git.musicpd.org/qball/${GMPC_PLUGIN}.git"
18 if [ -z "${SRC_URI}" ]; then
19 gmpc-plugin_src_prepare
() {
24 gmpc-plugin_src_install
() {
26 emake DESTDIR
="${D}" install || die
"Install failed"
29 #TODO Use ${var^^} when gentoo makes the switch to bash4
30 local my_plugin
="`echo ${PN/gmpc-} | tr '[a-z]' '[A-Z]'`"
32 ## A few sane defaults
33 HOMEPAGE
="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_${my_plugin}"
38 EXPORT_FUNCTIONS src_install src_prepare