diff options
Diffstat (limited to 'media-libs/libmtp/libmtp-0.3.2.ebuild')
-rw-r--r-- | media-libs/libmtp/libmtp-0.3.2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/libmtp/libmtp-0.3.2.ebuild b/media-libs/libmtp/libmtp-0.3.2.ebuild new file mode 100644 index 000000000000..6a39b3821f6e --- /dev/null +++ b/media-libs/libmtp/libmtp-0.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-0.3.2.ebuild,v 1.1 2008/09/25 11:58:57 loki_val Exp $ + +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 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libusb" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog README TODO + + insinto /etc/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 +} |