diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 00:10:35 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 00:11:02 +0300 |
commit | f52ba3f9a363b6042f7d00751a1d64e65d4eab88 (patch) | |
tree | 6479c168b6536796cd3a10b51d81185100152bf5 /media-libs/libifp | |
parent | media-libs/libifp: mark stable (diff) | |
download | gentoo-f52ba3f9a363b6042f7d00751a1d64e65d4eab88.tar.gz gentoo-f52ba3f9a363b6042f7d00751a1d64e65d4eab88.tar.bz2 gentoo-f52ba3f9a363b6042f7d00751a1d64e65d4eab88.zip |
media-libs/libifp: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-libs/libifp')
-rw-r--r-- | media-libs/libifp/libifp-1.0.0.2.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/media-libs/libifp/libifp-1.0.0.2.ebuild b/media-libs/libifp/libifp-1.0.0.2.ebuild deleted file mode 100644 index f79c97f24cc2..000000000000 --- a/media-libs/libifp/libifp-1.0.0.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -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 static-libs" - -RDEPEND="virtual/libusb:0" -DEPEND="${RDEPEND} - doc? ( >=app-doc/doxygen-1.3.7 ) - sys-apps/sed" - -src_prepare() { - sed -i \ - -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \ - -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \ - configure || die -} - -src_configure() { - use doc || export have_doxygen=no - - econf \ - --disable-dependency-tracking \ - $(use_enable static-libs static) \ - $(use_enable examples) \ - --with-libusb \ - --without-kmodule -} - -src_test() { :; } # hardware dependant wrt #318597 - -src_install() { - emake DESTDIR="${D}" install || die - - find "${D}" -name '*.la' -exec rm -f {} + - - # clean /usr/bin after installation - # by moving examples to examples dir - if use examples; then - insinto /usr/share/${PN}/examples - doins "${S}"/examples/simple.c "${S}"/examples/ifpline.c - mv "${D}"/usr/bin/{simple,ifpline} "${D}"/usr/share/${PN}/examples - else - rm -f "${D}"/usr/bin/{simple,ifpline} - fi - - use doc && dodoc README ChangeLog TODO -} |