blob: 321f234bb145c94ea11ad16699a73b511594c400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2007 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.3 2007/01/14 15:35:42 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
linux-mod_pkg_postinst
}
pkg_postrm() {
python_mod_cleanup
linux-mod_pkg_postrm
}
|