blob: 2d819fc44a47e5dbda8013c02d92382639c37bf8 (
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
41
|
# Copyright 1999-2011 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://www.adebenham.com/mtpfs"
SRC_URI="http://www.adebenham.com/debian/${P/-/_}.orig.tar.gz"
S="${WORKDIR}/${P}.orig"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~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>"
}
|