summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-21 17:46:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-21 17:46:50 +0000
commit76c1bc28ba1d54582510a2f2baba48ee7622561b (patch)
treea752e21aae0c9564d513ab9212523000b415cec3 /media-libs/libifp
parentFix for building with libpng-1.5 #355039 by Lars Wendler. (diff)
downloadhistorical-76c1bc28ba1d54582510a2f2baba48ee7622561b.tar.gz
historical-76c1bc28ba1d54582510a2f2baba48ee7622561b.tar.bz2
historical-76c1bc28ba1d54582510a2f2baba48ee7622561b.zip
USE="static-libs" and remove useless libtool archive. Use virtual/libusb:0.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libifp')
-rw-r--r--media-libs/libifp/ChangeLog7
-rw-r--r--media-libs/libifp/Manifest4
-rw-r--r--media-libs/libifp/libifp-1.0.0.2.ebuild35
3 files changed, 24 insertions, 22 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/Manifest b/media-libs/libifp/Manifest
index c853e50e77cf..15660a4b765d 100644
--- a/media-libs/libifp/Manifest
+++ b/media-libs/libifp/Manifest
@@ -1,4 +1,4 @@
DIST libifp-1.0.0.2.tar.gz 358550 RMD160 09c1d09eeaa8c6b092dd7e22e1229f84c7a2790c SHA1 3bd2808f8b5fce9234764b84bc6f65d666381086 SHA256 3b8fa50b9425b660285484eb42bad3f736f0aecc6a790c5160da276558ebfcee
-EBUILD libifp-1.0.0.2.ebuild 1475 RMD160 72e0c07ae75376c4c09d67eac733ec243fcf6ed1 SHA1 4927ab17d40646a8ed9309ad7b209e76b1c3cf2f SHA256 26af50d85ace418f8638e80bdf890f0b47333b1c179608248e5952f57286dc14
-MISC ChangeLog 1956 RMD160 4e1a199e02e5fdb875be45df72298c7964bd6575 SHA1 59bc2525201c7d3a67724f748fe53f374ab0eac1 SHA256 5b4d4a18479e1c744c47c932ebe0e7778ecbaa7cf548eeab69911068382352a8
+EBUILD libifp-1.0.0.2.ebuild 1408 RMD160 5a59fa7648d15ce460dae7a92a39cda61caef603 SHA1 9026b990bf06b00abaf58d8c6511c25301d2e021 SHA256 a131895567ac154179a02f839f10cf5cce046e0553c38df069f93ee2c47db613
+MISC ChangeLog 2112 RMD160 c2578e6e854313a6ea61fa6ca89e6d51fe96a45a SHA1 1ec8deb04bb6fa6046e47260f01a3d3260e93f44 SHA256 956a7025b9b89c823dd882c5ed6523e77bfe9bf9b08eb877a0c8d90bad90a2ef
MISC metadata.xml 386 RMD160 09252540a2b3013764e62a37354366523357280c SHA1 8584060a281e4ce6c5b9450b4eac51cd32d4bfb5 SHA256 cab73a087aac4208f84ef2f53a3956bf412e7412f6937196b1b67a051dfc821c
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."
-}