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 | |
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')
-rw-r--r-- | media-libs/libifp/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libifp/libifp-1.0.0.2.ebuild | 35 |
2 files changed, 22 insertions, 20 deletions
diff --git a/media-libs/libifp/ChangeLog b/media-libs/libifp/ChangeLog index 9e4ff92afa5a..10a52fdfc07c 100644 --- a/media-libs/libifp/ChangeLog +++ b/media-libs/libifp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libifp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.13 2009/10/07 16:12:45 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.14 2011/02/21 17:46:50 ssuominen Exp $ + + 21 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> libifp-1.0.0.2.ebuild: + USE="static-libs" and remove useless libtool archive. Use virtual/libusb:0. 07 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libifp-1.0.0.2.ebuild: Replace USE modules with postinst message wrt #286081, because 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." -} |