blob: c77ec2937f0f48d5caa0dfa1b9ea4b04ec63ced5 (
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
39
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="iRiver iFP open-source driver"
HOMEPAGE="http://ifp-driver.sourceforge.net/"
SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="virtual/libusb:0"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" )
src_install() {
dobin ifp
doman ifp.1
exeinto /usr/share/${PN}
doexe nonroot.sh
default
}
pkg_postinst() {
elog
elog "To enable non-root usage of ${PN}, you use any of the following"
elog "methods."
elog
elog " 1. Follow the TIPS file in"
elog " /usr/share/doc/${PF}"
elog
elog " 2. Run /usr/share/${PN}/nonroot.sh"
elog
}
|