Parent Directory
|
Revision Log
Add IUSE=static-libs, fix linux config checking to not die, drop incorrect depends, add missing pkg-config depend, and drop -fPIC hardcode. (Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
| 1 | thev00d00 | 1.1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | vapier | 1.2 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ |
| 4 | thev00d00 | 1.1 | |
| 5 | vapier | 1.2 | EAPI="4" |
| 6 | thev00d00 | 1.1 | |
| 7 | inherit autotools linux-info vcs-snapshot | ||
| 8 | |||
| 9 | DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" | ||
| 10 | HOMEPAGE="http://libcec.pulse-eight.com" | ||
| 11 | SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz" | ||
| 12 | |||
| 13 | LICENSE="GPL-2" | ||
| 14 | SLOT="0" | ||
| 15 | KEYWORDS="~amd64 ~x86" | ||
| 16 | vapier | 1.2 | IUSE="static-libs" |
| 17 | thev00d00 | 1.1 | |
| 18 | RDEPEND=">=sys-fs/udev-151" | ||
| 19 | vapier | 1.2 | DEPEND="${RDEPEND} |
| 20 | dev-util/pkgconfig" | ||
| 21 | thev00d00 | 1.1 | |
| 22 | vapier | 1.2 | CONFIG_CHECK="~USB_ACM" |
| 23 | thev00d00 | 1.1 | |
| 24 | src_prepare() { | ||
| 25 | vapier | 1.2 | sed -i '/^CXXFLAGS/s:-fPIC::' configure.ac || die |
| 26 | thev00d00 | 1.1 | eautoreconf |
| 27 | } | ||
| 28 | vapier | 1.2 | |
| 29 | src_configure() { | ||
| 30 | econf $(use_enable static-libs static) | ||
| 31 | } | ||
| 32 | |||
| 33 | src_install() { | ||
| 34 | default | ||
| 35 | use static-libs || find "${ED}" -name '*.la' -delete | ||
| 36 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |