summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmtp/libmtp-1.0.3-r1.ebuild')
-rw-r--r--media-libs/libmtp/libmtp-1.0.3-r1.ebuild53
1 files changed, 0 insertions, 53 deletions
diff --git a/media-libs/libmtp/libmtp-1.0.3-r1.ebuild b/media-libs/libmtp/libmtp-1.0.3-r1.ebuild
deleted file mode 100644
index 00ef395e4b96..000000000000
--- a/media-libs/libmtp/libmtp-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2011 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-r1.ebuild,v 1.7 2011/01/21 16:39:41 xarthisius Exp $
-
-EAPI=2
-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: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 /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
-}