blob: 8d8b76fcc67924fdae6950f3fa45a219659554f8 (
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
37
38
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/rarfs/rarfs-0.1.1.ebuild,v 1.4 2012/12/15 08:17:25 pinkbyte Exp $
EAPI=5
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit python
DESCRIPTION="Fuse module to mount uncompressed RAR archives"
HOMEPAGE="http://sourceforge.net/projects/rarfs/"
SRC_URI="mirror://sourceforge/rarfs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-fs/fuse"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( README )
src_install() {
install_prarfs() {
python_convert_shebangs -q ${PYTHON_ABI} scripts/prarfs
newbin scripts/prarfs prarfs-${PYTHON_ABI}
}
python_execute_function -q install_prarfs
python_generate_wrapper_scripts "${ED}/usr/bin/prarfs"
dobin src/rarfs
dodoc ${DOCS[@]}
}
|