diff options
author | Jakub Moc <jakub@gentoo.org> | 2006-12-10 16:57:46 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2006-12-10 16:57:46 +0000 |
commit | 5c2245d3209d1f11f4c1fd9a49a5489bfa6c0ce5 (patch) | |
tree | ca3d03ce743679a9e9fc418e0f8c7219ca7c6e51 /app-misc/imgv/imgv-3.1.5.ebuild | |
parent | app-misc/genealogyj-bin - Change LINGUAS handling to something less awful and... (diff) | |
download | sunrise-5c2245d3209d1f11f4c1fd9a49a5489bfa6c0ce5.tar.gz sunrise-5c2245d3209d1f11f4c1fd9a49a5489bfa6c0ce5.tar.bz2 sunrise-5c2245d3209d1f11f4c1fd9a49a5489bfa6c0ce5.zip |
app-misc/imgv - version bump
svn path=/sunrise/; revision=2217
Diffstat (limited to 'app-misc/imgv/imgv-3.1.5.ebuild')
-rw-r--r-- | app-misc/imgv/imgv-3.1.5.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/imgv/imgv-3.1.5.ebuild b/app-misc/imgv/imgv-3.1.5.ebuild new file mode 100644 index 000000000..60a4f3d78 --- /dev/null +++ b/app-misc/imgv/imgv-3.1.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit python eutils + +MY_P="${P}-src" + +DESCRIPTION="imgv is a unique and feature rich image viewer using Python" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +HOMEPAGE="http://imgv.sourceforge.net/" +SLOT=0 +LICENSE=GPL-2 +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-python/pygtk + dev-python/pygame + dev-python/imaging" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_install() { + python_version + INST_DIR="/usr/lib/python${PYVER}/site-packages/${PN}" + + insinto ${INST_DIR} + cd "${S}" + doins -r *.py + insinto ${INST_DIR}/data + cd "${S}/data" + doins -r * + + cd "${S}" + echo "IMGV_HOME=${INST_DIR}" >> 90imgv + insinto /etc/env.d + doins 90imgv + + make_wrapper imgv "/usr/bin/python ${INST_DIR}/imgv.py" +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/${PN} +} + +pkg_postrm() { + python_version + python_mod_cleanup /usr/lib/python${PYVER}/site-packages/${PN} + +} |