/[gentoo-x86]/dev-libs/libcec/libcec-1.5.2.ebuild
Gentoo

Diff of /dev-libs/libcec/libcec-1.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/Attic/libcec-1.5.2.ebuild,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/Attic/libcec-1.5.2.ebuild,v 1.2 2012/04/01 22:04:23 vapier Exp $
4 4
5EAPI=4 5EAPI="4"
6 6
7inherit autotools linux-info vcs-snapshot 7inherit autotools linux-info vcs-snapshot
8 8
9DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" 9DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
10HOMEPAGE="http://libcec.pulse-eight.com" 10HOMEPAGE="http://libcec.pulse-eight.com"
11SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz" 11SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~x86" 15KEYWORDS="~amd64 ~x86"
16IUSE="" 16IUSE="static-libs"
17 17
18DEPEND=">=sys-devel/autoconf-2.13
19 >=sys-devel/automake-1.11
20 sys-devel/libtool
21 "
22RDEPEND=">=sys-fs/udev-151" 18RDEPEND=">=sys-fs/udev-151"
19DEPEND="${RDEPEND}
20 dev-util/pkgconfig"
23 21
24pkg_setup() { 22CONFIG_CHECK="~USB_ACM"
25 if linux_config_exists; then 23
26 if ! linux_chkconfig_present USB_ACM; then 24src_prepare() {
27 ewarn "You should enable the USB_ACM support in your kernel." 25 sed -i '/^CXXFLAGS/s:-fPIC::' configure.ac || die
28 ewarn "Check the 'USB Modem (CDC ACM) support' under the" 26 eautoreconf
29 ewarn "'Device Drivers' and 'USB support' option. It is"
30 ewarn "marked as CONFIG_USB_ACM in the config"
31 die 'missing CONFIG_USB_ACM'
32 fi
33 fi
34} 27}
35 28
36src_prepare() { 29src_configure() {
37 eautoreconf 30 econf $(use_enable static-libs static)
38} 31}
32
33src_install() {
34 default
35 use static-libs || find "${ED}" -name '*.la' -delete
36}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20