diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-21 17:46:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-21 17:46:50 +0000 |
commit | 7e1e4787293a189cc525a45732d3ba49ca19d6de (patch) | |
tree | de358806145a58e91ac5953a641f1153b7403f6c /media-libs/libifp/libifp-1.0.0.2.ebuild | |
parent | Fix for building with libpng-1.5 #355039 by Lars Wendler. (diff) | |
download | gentoo-2-7e1e4787293a189cc525a45732d3ba49ca19d6de.tar.gz gentoo-2-7e1e4787293a189cc525a45732d3ba49ca19d6de.tar.bz2 gentoo-2-7e1e4787293a189cc525a45732d3ba49ca19d6de.zip |
USE="static-libs" and remove useless libtool archive. Use virtual/libusb:0.
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libifp/libifp-1.0.0.2.ebuild')
-rw-r--r-- | media-libs/libifp/libifp-1.0.0.2.ebuild | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/media-libs/libifp/libifp-1.0.0.2.ebuild b/media-libs/libifp/libifp-1.0.0.2.ebuild index 5899c55e0d37..9c3ca11f5cca 100644 --- a/media-libs/libifp/libifp-1.0.0.2.ebuild +++ b/media-libs/libifp/libifp-1.0.0.2.ebuild @@ -1,42 +1,45 @@ -# 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/libifp/libifp-1.0.0.2.ebuild,v 1.13 2009/10/07 16:16:51 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.14 2011/02/21 17:46:50 ssuominen Exp $ EAPI=2 -DESCRIPTION="A general-purpose library-driver for iRiver's iFP portable audio players." +DESCRIPTION="A general-purpose library for iRiver's iFP portable audio players" HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/" SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ia64 ppc ppc64 x86" -IUSE="doc examples" +IUSE="doc examples static-libs" -RDEPEND=">=dev-libs/libusb-0.1" +RDEPEND="virtual/libusb:0" DEPEND="${RDEPEND} doc? ( >=app-doc/doxygen-1.3.7 ) sys-apps/sed" src_prepare() { - sed -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \ + sed -i \ + -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \ -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \ - -i configure || die "sed failed" + configure || die } src_configure() { - # hack to prevent docs from building - use doc || DOCS="have_doxygen=no" + use doc || export have_doxygen=no - eval $DOCS econf \ + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_enable examples) \ --with-libusb \ - --with-libifp \ - --without-kmodule \ - $(use_enable examples) + --without-kmodule } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install || die + + find "${D}" -name '*.la' -exec rm -f {} + # clean /usr/bin after installation # by moving examples to examples dir @@ -50,7 +53,3 @@ src_install() { use doc && dodoc README ChangeLog TODO } - -pkg_postinst() { - elog "Install media-sound/libifp-module for kernel support." -} |