blob: 212d6ee58c83a843447eabad22145e4c39eae703 (
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
40
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
DESCRIPTION="MTPFS is a Fuse filesystem based on libmtp"
HOMEPAGE="http://adebenham.com/mtpfs"
SRC_URI="http://adebenham.com/mtpfs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug"
DEPEND="sys-fs/fuse
>=dev-libs/glib-2.18.4-r1
media-libs/libmtp"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable debug) || die 'econf failed'
}
src_compile() {
emake || die 'emake failed'
}
src_install() {
emake DESTDIR="${D}" install || die 'installation failed'
dodoc AUTHORS INSTALL NEWS README ChangeLog
}
pkg_postinst() {
einfo "To mount your MTP device, issue:"
einfo " /usr/bin/mtpfs <mountpoint>"
einfo
einfo "To unmount your MTP device, issue:"
einfo " /usr/bin/fusermount -u <mountpoint>"
}
|