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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 18 21:38:45 2009 UTC (8 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
USE static-libs.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.3.4.ebuild,v 1.1 2008/11/24 00:42:27 loki_val Exp $
4
5 DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)."
6 HOMEPAGE="http://libmtp.sourceforge.net"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
9 LICENSE="LGPL-2.1"
10 SLOT="0"
11 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
12 IUSE="doc examples"
13
14 RDEPEND="dev-libs/libusb"
15 DEPEND="${RDEPEND}
16 doc? ( app-doc/doxygen )"
17
18 src_compile() {
19 econf --enable-shared --disable-static || die "econf failed"
20 emake || die "emake failed"
21 }
22
23 src_install() {
24 emake DESTDIR="${D}" install || die "emake install failed."
25 rm -f $(find "${D}" -name '*.la')
26 dodoc AUTHORS ChangeLog README TODO
27
28 insinto /etc/udev/rules.d
29 newins libmtp.rules 65-mtp.rules
30
31 insinto /usr/share/hal/fdi/information/20thirdparty
32 newins libmtp.fdi 10-libmtp.fdi
33
34 if use examples; then
35 docinto examples
36 dodoc examples/*.{c,h,sh}
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20