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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Jul 5 11:52:41 2008 UTC (10 years, 1 month ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 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.2.3.ebuild,v 1.11 2008/06/23 18:29:36 armin76 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-0.1.7
15 sys-libs/ncurses
16 sys-libs/zlib"
17
18 DEPEND="doc? ( app-doc/doxygen )
19 ${RDEPEND}"
20
21 src_install() {
22 emake DESTDIR="${D}" install || die "emake install failed"
23 dodoc AUTHORS ChangeLog README TODO
24
25 insinto /etc/udev/rules.d
26 newins libmtp.rules 65-mtp.rules
27
28 if use examples ; then
29 docinto examples
30 dodoc examples/*.{c,h,sh}
31 fi
32 }
33
34 pkg_postinst() {
35 elog "Please note that the ABI for libmtp has changed. Please run revdep-rebuild to automatically recompile any affected programs."
36 }

  ViewVC Help
Powered by ViewVC 1.1.20