summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-09-09 15:57:14 +0000
committerThomas Cort <tcort@gentoo.org>2006-09-09 15:57:14 +0000
commitbe183699ae0c790705b21545d886439dca38abdd (patch)
treec2ecbd7aafcbbef580d8f41999846bcec840ebb4 /media-libs/libmtp
parentDisplay correct path to example config file in postinst. Closes bug #145822, ... (diff)
downloadhistorical-be183699ae0c790705b21545d886439dca38abdd.tar.gz
historical-be183699ae0c790705b21545d886439dca38abdd.tar.bz2
historical-be183699ae0c790705b21545d886439dca38abdd.zip
Version Bump.
Package-Manager: portage-2.1-r2
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/ChangeLog8
-rw-r--r--media-libs/libmtp/files/digest-libmtp-0.0.173
-rw-r--r--media-libs/libmtp/libmtp-0.0.17.ebuild45
3 files changed, 55 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index e9b777f49165..3c69d40e69da 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2006/09/02 05:48:20 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.3 2006/09/09 15:57:14 tcort Exp $
+
+*libmtp-0.0.17 (09 Sep 2006)
+
+ 09 Sep 2006; Thomas Cort <tcort@gentoo.org> -libmtp-0.0.16.ebuild,
+ +libmtp-0.0.17.ebuild:
+ Version Bump.
*libmtp-0.0.16-r1 (02 Sep 2006)
diff --git a/media-libs/libmtp/files/digest-libmtp-0.0.17 b/media-libs/libmtp/files/digest-libmtp-0.0.17
new file mode 100644
index 000000000000..bb0007984235
--- /dev/null
+++ b/media-libs/libmtp/files/digest-libmtp-0.0.17
@@ -0,0 +1,3 @@
+MD5 b48af564478771c5be58a34524214345 libmtp-0.0.17.tar.gz 441133
+RMD160 57174b29469598659610c7d43c116a07dfccec1f libmtp-0.0.17.tar.gz 441133
+SHA256 ee6a29ab906abe40e9edcd56219c3e3793926078e9d3d641b8b3125f26f6c9ff libmtp-0.0.17.tar.gz 441133
diff --git a/media-libs/libmtp/libmtp-0.0.17.ebuild b/media-libs/libmtp/libmtp-0.0.17.ebuild
new file mode 100644
index 000000000000..5e9032a743b2
--- /dev/null
+++ b/media-libs/libmtp/libmtp-0.0.17.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.17.ebuild,v 1.1 2006/09/09 15:57:14 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}
+ fi
+}