diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-11 19:58:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-11 19:58:58 +0000 |
commit | e644d9222e5055a2f5acc6f51044e03051328da8 (patch) | |
tree | b0f191fae7f2ff1511201f33abd7c01b23e9142e /app-cdr/cdcover/cdcover-0.7.4.ebuild | |
parent | Stable on amd64 wrt bug #353581 (diff) | |
download | gentoo-2-e644d9222e5055a2f5acc6f51044e03051328da8.tar.gz gentoo-2-e644d9222e5055a2f5acc6f51044e03051328da8.tar.bz2 gentoo-2-e644d9222e5055a2f5acc6f51044e03051328da8.zip |
Version bump.
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/cdcover/cdcover-0.7.4.ebuild')
-rw-r--r-- | app-cdr/cdcover/cdcover-0.7.4.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-cdr/cdcover/cdcover-0.7.4.ebuild b/app-cdr/cdcover/cdcover-0.7.4.ebuild new file mode 100644 index 000000000000..d3e2008cad62 --- /dev/null +++ b/app-cdr/cdcover/cdcover-0.7.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/cdcover-0.7.4.ebuild,v 1.1 2011/02/11 19:58:58 ssuominen Exp $ + +EAPI=2 + +PYTHON_DEPEND=2 +PYTHON_USE_WITH=tk + +inherit eutils python + +DESCRIPTION="cdcover allows the creation of inlay-sheets for jewel cd-cases" +HOMEPAGE="http://cdcover.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cddb" + +RDEPEND="cddb? ( dev-python/cddb-py ) + media-sound/cd-discid" +DEPEND="" + +S=${WORKDIR}/${PN} + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + sed -i -e 's:ggv:gv:' dotcdcover.{example,m4} || die +} + +src_compile() { + emake prefix="${D}"/usr target=/usr || die +} + +src_install() { + emake prefix="${D}"/usr docdir="${D}"/usr/share/doc/${PF} install || die + + python_convert_shebangs -r 2 "${D}" + + make_desktop_entry ${PN} ${PN} + + insinto /usr/share/doc/${PF}/pdf + doins doc/cdcover.pdf + + prepalldocs +} |