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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jan 31 16:00:53 2008 UTC (10 years, 6 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Install fdi file for HAL.
(Portage version: 2.1.4)

1 # Copyright 1999-2007 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.1.3.ebuild,v 1.5 2007/02/24 10:08:25 corsair 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 ppc ppc64 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,sh}
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20