summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Prugh <ken69267@gentoo.org>2009-08-08 06:11:06 +0000
committerKenneth Prugh <ken69267@gentoo.org>2009-08-08 06:11:06 +0000
commitf3640f2ef98692588b998ad91ce8b3dd23e3600b (patch)
tree2fbf028ef728d7b4b844216abee9daa1b0cf3f53 /media-libs/libmtp
parentStable for HPPA (bug #279685). (diff)
downloadgentoo-2-f3640f2ef98692588b998ad91ce8b3dd23e3600b.tar.gz
gentoo-2-f3640f2ef98692588b998ad91ce8b3dd23e3600b.tar.bz2
gentoo-2-f3640f2ef98692588b998ad91ce8b3dd23e3600b.zip
Version bump
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/ChangeLog7
-rw-r--r--media-libs/libmtp/libmtp-1.0.0.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index 86a99e072d82..0be07bf7efa9 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmtp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.72 2009/05/18 22:39:18 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.73 2009/08/08 06:11:05 ken69267 Exp $
+
+*libmtp-1.0.0 (08 Aug 2009)
+
+ 08 Aug 2009; Kenneth Prugh <ken69267@gentoo.org> +libmtp-1.0.0.ebuild:
+ version bump
18 May 2009; Robin H. Johnson <robbat2@gentoo.org> libmtp-0.2.6.1.ebuild,
libmtp-0.3.7.ebuild:
diff --git a/media-libs/libmtp/libmtp-1.0.0.ebuild b/media-libs/libmtp/libmtp-1.0.0.ebuild
new file mode 100644
index 000000000000..a8f7e2937e4d
--- /dev/null
+++ b/media-libs/libmtp/libmtp-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.0.0.ebuild,v 1.1 2009/08/08 06:11:06 ken69267 Exp $
+
+EAPI=2
+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 static-libs"
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ sys-apps/findutils"
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ rm -f $(find "${D}" -name '*.la')
+ dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
+
+ 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
+}