summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-09-26 22:56:32 +0000
committerThomas Cort <tcort@gentoo.org>2006-09-26 22:56:32 +0000
commit7b905caa1cdf40fa2f8315d554a47f1987a638f4 (patch)
treef302da858227913330cf843f848cf0f365a90d07
parentFixes bug #148384. (diff)
downloadgentoo-2-7b905caa1cdf40fa2f8315d554a47f1987a638f4.tar.gz
gentoo-2-7b905caa1cdf40fa2f8315d554a47f1987a638f4.tar.bz2
gentoo-2-7b905caa1cdf40fa2f8315d554a47f1987a638f4.zip
Version bump to 0.0.20.
(Portage version: 2.1.1)
-rw-r--r--media-libs/libmtp/ChangeLog7
-rw-r--r--media-libs/libmtp/files/digest-libmtp-0.0.203
-rw-r--r--media-libs/libmtp/libmtp-0.0.20.ebuild45
3 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index b39bb826ad5c..bd2e01e75b69 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmtp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.5 2006/09/16 23:10:13 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.6 2006/09/26 22:56:32 tcort Exp $
+
+*libmtp-0.0.20 (26 Sep 2006)
+
+ 26 Sep 2006; Thomas Cort <tcort@gentoo.org> +libmtp-0.0.20.ebuild:
+ Version bump to 0.0.20.
*libmtp-0.0.19 (16 Sep 2006)
diff --git a/media-libs/libmtp/files/digest-libmtp-0.0.20 b/media-libs/libmtp/files/digest-libmtp-0.0.20
new file mode 100644
index 000000000000..15f5bd27a237
--- /dev/null
+++ b/media-libs/libmtp/files/digest-libmtp-0.0.20
@@ -0,0 +1,3 @@
+MD5 0f79eb3b7ee672e1196d260a6dee5bcd libmtp-0.0.20.tar.gz 448723
+RMD160 a565a7ac875962d4d0fb032b806dd4d2d2d470d4 libmtp-0.0.20.tar.gz 448723
+SHA256 f574780c235f686bb9d165e0984c60a57ca5855c866b05c106454fd24d90404f libmtp-0.0.20.tar.gz 448723
diff --git a/media-libs/libmtp/libmtp-0.0.20.ebuild b/media-libs/libmtp/libmtp-0.0.20.ebuild
new file mode 100644
index 000000000000..3ac4a02fcdc3
--- /dev/null
+++ b/media-libs/libmtp/libmtp-0.0.20.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-0.0.20.ebuild,v 1.1 2006/09/26 22:56:32 tcort Exp $
+
+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 ~x86"
+IUSE="doc examples"
+
+RDEPEND=">=dev-libs/libusb-0.1.7
+ sys-libs/ncurses
+ sys-libs/zlib"
+
+DEPEND="doc? ( app-doc/doxygen )
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}"/libmtp-0.0.16-udev_perm.patch
+}
+
+src_compile() {
+ econf --enable-hotplugging || die "econf failed"
+ emake || die "emake failed"
+}
+
+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
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/*.{c,h,sh}
+ fi
+}