diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-18 21:38:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-18 21:38:45 +0000 |
commit | aeb5e9156d8dea6b4bc2e78e3577b74ac488cfb6 (patch) | |
tree | 97f72b8fef2ba5826fa718702bc56e28d6e8fabd /media-libs/libmtp/libmtp-0.3.7.ebuild | |
parent | Revet 2.26.1 changes to postrm phase. (diff) | |
download | gentoo-2-aeb5e9156d8dea6b4bc2e78e3577b74ac488cfb6.tar.gz gentoo-2-aeb5e9156d8dea6b4bc2e78e3577b74ac488cfb6.tar.bz2 gentoo-2-aeb5e9156d8dea6b4bc2e78e3577b74ac488cfb6.zip |
USE static-libs.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp/libmtp-0.3.7.ebuild')
-rw-r--r-- | media-libs/libmtp/libmtp-0.3.7.ebuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/media-libs/libmtp/libmtp-0.3.7.ebuild b/media-libs/libmtp/libmtp-0.3.7.ebuild index b0fd0fb91764..119802494da4 100644 --- a/media-libs/libmtp/libmtp-0.3.7.ebuild +++ b/media-libs/libmtp/libmtp-0.3.7.ebuild @@ -1,7 +1,8 @@ # 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-0.3.7.ebuild,v 1.6 2009/05/17 14:51:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-0.3.7.ebuild,v 1.7 2009/05/18 21:38:45 ssuominen 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" @@ -9,19 +10,22 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 hppa ppc ppc64 sparc x86" -IUSE="doc examples" +IUSE="doc examples static-libs" -RDEPEND="dev-libs/libusb" +RDEPEND="virtual/libusb" DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" + doc? ( app-doc/doxygen ) + sys-apps/findutils" -src_compile() { - econf --enable-shared --disable-static - emake || die "emake failed" +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) } src_install() { - emake DESTDIR="${D}" install || die "emake install failed." + emake DESTDIR="${D}" install || die "emake install failed" + rm -f $(find "${D}" -name '*.la') dodoc AUTHORS ChangeLog README TODO || die "dodoc failed" |