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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 10 10:01:34 2010 UTC (8 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old, keep only latest of both APIs
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.0.ebuild,v 1.1 2009/08/08 06:11:06 ken69267 Exp $
4
5 EAPI=2
6 DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)."
7 HOMEPAGE="http://libmtp.sourceforge.net"
8 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9
10 LICENSE="LGPL-2.1"
11 SLOT="0"
12 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
13 IUSE="doc examples static-libs"
14
15 RDEPEND="virtual/libusb:0"
16 DEPEND="${RDEPEND}
17 doc? ( app-doc/doxygen )
18 sys-apps/findutils"
19
20 src_configure() {
21 econf \
22 --enable-shared \
23 $(use_enable static-libs static)
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" install || die "emake install failed"
28
29 rm -f $(find "${D}" -name '*.la')
30 dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
31
32 insinto /etc/udev/rules.d
33 newins libmtp.rules 65-mtp.rules
34
35 insinto /usr/share/hal/fdi/information/20thirdparty
36 newins libmtp.fdi 10-libmtp.fdi
37
38 if use examples; then
39 docinto examples
40 dodoc examples/*.{c,h,sh}
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20