# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-0.8.ebuild,v 1.2 2006/12/19 20:07:37 vapier Exp $ inherit linux-mod python DESCRIPTION="mount bin/cue cd images" HOMEPAGE="http://cdemu.org/" SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc x86" IUSE="" RESTRICT="test" #158556 DEPEND="virtual/linux-sources" RDEPEND="dev-lang/python" MODULE_NAMES="cdemu(block:${S})" BUILD_TARGETS="clean default" src_install() { emake install DESTDIR="${D}" || die dodoc AUTHORS ChangeLog README TODO } pkg_postinst() { python_mod_compile /usr/lib*/python*/site-packages/libcdemu.py } pkg_postrm() { python_mod_cleanup }