diff options
author | Kenneth Prugh <ken69267@gentoo.org> | 2010-11-30 03:17:48 +0000 |
---|---|---|
committer | Kenneth Prugh <ken69267@gentoo.org> | 2010-11-30 03:17:48 +0000 |
commit | 038e946addeeb9921a53edb14342ff88d1266e75 (patch) | |
tree | c75544faab930231b9446cdb751ee5ec82ebe6b7 /media-libs/libmtp | |
parent | Version bump, upstream uses distutils now which simlifies things a lot. (diff) | |
download | gentoo-2-038e946addeeb9921a53edb14342ff88d1266e75.tar.gz gentoo-2-038e946addeeb9921a53edb14342ff88d1266e75.tar.bz2 gentoo-2-038e946addeeb9921a53edb14342ff88d1266e75.zip |
install udev rules in /$(get_libdir)/udev/rules.d/, bug #345727
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r-- | media-libs/libmtp/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-1.0.3-r2.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog index 1b7ce011abfc..c57e8b66fb96 100644 --- a/media-libs/libmtp/ChangeLog +++ b/media-libs/libmtp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libmtp # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.89 2010/11/04 11:30:34 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.90 2010/11/30 03:17:48 ken69267 Exp $ + +*libmtp-1.0.3-r2 (30 Nov 2010) + + 30 Nov 2010; Kenneth Prugh <ken69267@gentoo.org> +libmtp-1.0.3-r2.ebuild: + install udev rules in /$(get_libdir)/udev/rules.d/, bug #345727 04 Nov 2010; Markus Meier <maekke@gentoo.org> libmtp-1.0.3-r1.ebuild: x86 stable, bug #341913 diff --git a/media-libs/libmtp/libmtp-1.0.3-r2.ebuild b/media-libs/libmtp/libmtp-1.0.3-r2.ebuild new file mode 100644 index 000000000000..2e5314794f42 --- /dev/null +++ b/media-libs/libmtp/libmtp-1.0.3-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.3-r2.ebuild,v 1.1 2010/11/30 03:17:48 ken69267 Exp $ + +EAPI=2 +inherit eutils multilib + +DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)." +HOMEPAGE="http://libmtp.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="doc examples static-libs" + +RDEPEND="virtual/libusb:0" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + sys-apps/findutils" + +pkg_setup() { + enewgroup plugdev +} + +src_prepare() { + # Fix device permissions + epatch "${FILESDIR}"/permissions.patch +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}" -name '*.la' -exec rm -f '{}' + + + dodoc AUTHORS ChangeLog README TODO || die + + insinto /$(get_libdir)/udev/rules.d + newins libmtp.rules 65-mtp.rules + + insinto /usr/share/hal/fdi/information/20thirdparty + newins libmtp.fdi 10-libmtp.fdi + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +} |