1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A FUSE filesystem providing access to MTP devices"
8 HOMEPAGE="http://www.adebenham.com/mtpfs/"
9 SRC_URI="http://www.adebenham.com/files/mtp/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
16 RDEPEND="dev-libs/glib:2
17 >=media-libs/libmtp-1.1.2
26 DOCS=(AUTHORS NEWS README)
29 sed -e "/#include <string.h>/ a\
30 #include <stdlib.h>" -i mtpfs.h id3read.c || die #implicit
34 econf $(use_enable debug) \
39 einfo "To mount your MTP device, issue:"
40 einfo " /usr/bin/mtpfs <mountpoint>"
42 einfo "To unmount your MTP device, issue:"
43 einfo " /usr/bin/fusermount -u <mountpoint>"
47 einfo "You have enabled debugging output."
48 einfo "Please make sure you run mtpfs with the -d flag."