/[gentoo-x86]/sys-fs/mtpfs/mtpfs-1.0.ebuild
Gentoo

Contents of /sys-fs/mtpfs/mtpfs-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Mar 24 17:03:05 2012 UTC (6 years, 8 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #406293

(Portage version: 2.1.10.49/cvs/Linux i686)

1 voyageur 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 phajdan.jr 1.4 # $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/mtpfs-1.0.ebuild,v 1.3 2012/03/13 13:05:50 ago Exp $
4 voyageur 1.1
5     EAPI=4
6    
7     DESCRIPTION="A FUSE filesystem providing access to MTP devices"
8     HOMEPAGE="http://www.adebenham.com/mtpfs/"
9     SRC_URI="http://www.adebenham.com/debian/${P}.tar.gz"
10    
11     LICENSE="GPL-3"
12     SLOT="0"
13 phajdan.jr 1.4 KEYWORDS="amd64 x86"
14 voyageur 1.1 IUSE="debug"
15    
16     DEPEND="dev-libs/glib:2
17     media-libs/libid3tag
18     media-libs/libmad
19     media-libs/libmtp
20     sys-fs/fuse"
21     RDEPEND="${DEPEND}"
22    
23     DOCS=(AUTHORS NEWS README)
24    
25 xarthisius 1.2 src_prepare() {
26     sed -e "/#include <string.h>/ a\
27     #include <stdlib.h>" -i mtpfs.h id3read.c || die #implicit
28     }
29    
30 voyageur 1.1 src_configure() {
31     econf $(use_enable debug)
32     }
33    
34     pkg_postinst() {
35     einfo "To mount your MTP device, issue:"
36     einfo " /usr/bin/mtpfs <mountpoint>"
37     echo
38     einfo "To unmount your MTP device, issue:"
39     einfo " /usr/bin/fusermount -u <mountpoint>"
40    
41     if use debug; then
42     echo
43     einfo "You have enabled debugging output."
44     einfo "Please make sure you run mtpfs with the -d flag."
45     fi
46     }

  ViewVC Help
Powered by ViewVC 1.1.20