/[gentoo-x86]/media-libs/libmtp/libmtp-0.0.19.ebuild
Gentoo

Contents of /media-libs/libmtp/libmtp-0.0.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Oct 7 18:54:11 2006 UTC (11 years, 11 months ago) by tcort
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix manifest wrt Bug #150400.
(Portage version: 2.1.1)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-0.0.19.ebuild,v 1.1 2006/09/16 23:10:13 tcort Exp $
4
5 inherit eutils
6
7 DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)."
8 HOMEPAGE="http://libmtp.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc examples"
15
16 RDEPEND=">=dev-libs/libusb-0.1.7
17 sys-libs/ncurses
18 sys-libs/zlib"
19
20 DEPEND="doc? ( app-doc/doxygen )
21 ${RDEPEND}"
22
23 src_unpack() {
24 unpack "${A}"
25 cd "${S}"
26 epatch "${FILESDIR}"/libmtp-0.0.16-udev_perm.patch
27 }
28
29 src_compile() {
30 econf --enable-hotplugging || die "econf failed"
31 emake || die "emake failed"
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc AUTHORS ChangeLog README TODO
37
38 insinto /etc/udev/rules.d
39 newins libmtp.rules 65-mtp.rules
40
41 if use examples ; then
42 docinto examples
43 dodoc examples/*.{c,h}
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20