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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 31 16:00:53 2008 UTC (10 years, 9 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.2.0.ebuild,v 1.1 2007/08/04 22:55:08 chainsaw 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 ~ppc ~ppc64 ~x86"
12 IUSE="doc examples"
13
14 RDEPEND=">=dev-libs/libusb-0.1.7
15 sys-libs/ncurses
16 sys-libs/zlib"
17
18 DEPEND="doc? ( app-doc/doxygen )
19 ${RDEPEND}"
20
21 src_compile() {
22 econf --enable-hotplugging || die "econf failed"
23 emake || die "emake failed"
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" install || die "emake install failed"
28 dodoc AUTHORS ChangeLog README TODO
29
30 insinto /etc/udev/rules.d
31 newins libmtp.rules 65-mtp.rules
32
33 if use examples ; then
34 docinto examples
35 dodoc examples/*.{c,h,sh}
36 fi
37 }
38
39 pkg_postinst() {
40 elog "Please note that the ABI for libmtp has changed. Please run revdep-rebuild to automatically recompile any affected programs."
41 }

  ViewVC Help
Powered by ViewVC 1.1.20