diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-20 18:15:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-20 18:15:50 +0000 |
commit | 806115bbf71a88939da8ad1352b5bba7891e10f9 (patch) | |
tree | eed0d7a3e6f36e601138070685087fd119cd15ec /media-libs/libptp2 | |
parent | Fix libusb depend to correct SLOT. (diff) | |
download | gentoo-2-806115bbf71a88939da8ad1352b5bba7891e10f9.tar.gz gentoo-2-806115bbf71a88939da8ad1352b5bba7891e10f9.tar.bz2 gentoo-2-806115bbf71a88939da8ad1352b5bba7891e10f9.zip |
Fix libusb depend to correct SLOT.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libptp2')
-rw-r--r-- | media-libs/libptp2/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libptp2/libptp2-1.1.10.ebuild | 23 |
2 files changed, 18 insertions, 12 deletions
diff --git a/media-libs/libptp2/ChangeLog b/media-libs/libptp2/ChangeLog index b277c73d3224..5823f2aaefe3 100644 --- a/media-libs/libptp2/ChangeLog +++ b/media-libs/libptp2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libptp2 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/ChangeLog,v 1.22 2009/11/25 09:53:23 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/ChangeLog,v 1.23 2011/03/20 18:15:50 ssuominen Exp $ + + 20 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> libptp2-1.1.10.ebuild: + Fix libusb depend to correct SLOT. 25 Nov 2009; Markus Meier <maekke@gentoo.org> libptp2-1.1.10.ebuild: amd64 stable, bug #284445 diff --git a/media-libs/libptp2/libptp2-1.1.10.ebuild b/media-libs/libptp2/libptp2-1.1.10.ebuild index 21922250b689..658004b48e87 100644 --- a/media-libs/libptp2/libptp2-1.1.10.ebuild +++ b/media-libs/libptp2/libptp2-1.1.10.ebuild @@ -1,29 +1,32 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/libptp2-1.1.10.ebuild,v 1.5 2009/11/25 09:53:23 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libptp2/libptp2-1.1.10.ebuild,v 1.6 2011/03/20 18:15:50 ssuominen Exp $ -inherit eutils autotools +EAPI=2 +inherit autotools eutils DESCRIPTION="Library and client for communicating with PTP enabled devices (e.g. digital photo cameras)." HOMEPAGE="http://sourceforge.net/projects/libptp/" SRC_URI="mirror://sourceforge/libptp/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="" -RDEPEND=">=dev-libs/libusb-0.1.10" + +RDEPEND="virtual/libusb:0" DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-makefile.patch - epatch "${FILESDIR}"/${P}-configure.patch - cd "${S}" +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-configure.patch + AT_M4DIR="m4" eautoreconf } src_test() { - env LD_LIBRARY_PATH=./src/.libs/ ./src/ptpcam -l || die "failed test" + env LD_LIBRARY_PATH=./src/.libs/ ./src/ptpcam -l || die } src_install() { |