diff options
author | 2012-01-20 18:14:55 +0000 | |
---|---|---|
committer | 2012-01-20 18:14:55 +0000 | |
commit | a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2 (patch) | |
tree | 88ff1029d618ae2853f2967a9723f9f734d6e64e /media-libs/libmtp/libmtp-1.1.2.ebuild | |
parent | Add src_install() to install to /usr by Jan Psota (bug #399441). (diff) | |
download | gentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.tar.gz gentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.tar.bz2 gentoo-2-a9a7b4b02e5380ead668e6cf28f47fa0dacd98d2.zip |
Version bump. Use default upstream values for --with-udev and --with-udev-rules as they are correct. Use more recent SLOT of libusb.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp/libmtp-1.1.2.ebuild')
-rw-r--r-- | media-libs/libmtp/libmtp-1.1.2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/libmtp/libmtp-1.1.2.ebuild b/media-libs/libmtp/libmtp-1.1.2.ebuild new file mode 100644 index 000000000000..5818b28ba47e --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.2.ebuild,v 1.1 2012/01/20 18:14:55 ssuominen Exp $ + +EAPI=4 +inherit eutils + +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:1" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS ChangeLog README TODO" + +pkg_setup() { + enewgroup plugdev +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable doc doxygen) \ + --with-udev-group="plugdev" \ + --with-udev-mode="0660" +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -f {} + + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +} |