diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2012-09-14 17:35:15 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2012-09-14 17:35:15 +0000 |
commit | f029eec774c1a351915c00e31c1338ca3347712e (patch) | |
tree | 9d49fce14184668cfce7ac4a2c422fb3789da816 /app-misc/lirc/lirc-0.9.0-r2.ebuild | |
parent | Stable for amd64, wrt bug #432828 (diff) | |
download | historical-f029eec774c1a351915c00e31c1338ca3347712e.tar.gz historical-f029eec774c1a351915c00e31c1338ca3347712e.tar.bz2 historical-f029eec774c1a351915c00e31c1338ca3347712e.zip |
added static-libs use flag to disable default installation of static libs
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'app-misc/lirc/lirc-0.9.0-r2.ebuild')
-rw-r--r-- | app-misc/lirc/lirc-0.9.0-r2.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app-misc/lirc/lirc-0.9.0-r2.ebuild b/app-misc/lirc/lirc-0.9.0-r2.ebuild index a74c091a2d33..6ad4c1210947 100644 --- a/app-misc/lirc/lirc-0.9.0-r2.ebuild +++ b/app-misc/lirc/lirc-0.9.0-r2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0-r2.ebuild,v 1.1 2012/07/19 19:52:18 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0-r2.ebuild,v 1.2 2012/09/14 17:35:15 axs Exp $ EAPI=4 -inherit eutils linux-mod linux-info flag-o-matic autotools +inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" HOMEPAGE="http://www.lirc.org/" @@ -20,7 +20,7 @@ fi LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug doc X hardware-carrier transmitter" +IUSE="debug doc hardware-carrier transmitter static-libs X" S="${WORKDIR}/${MY_P}" @@ -279,7 +279,7 @@ pkg_setup() { filter-flags -Wl,-O1 - # force non-parallel make, Bug 196134 + # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2) MAKEOPTS="${MAKEOPTS} -j1" } @@ -332,6 +332,7 @@ src_configure() { --with-kerneldir="${KV_DIR}" \ --with-moduledir="/lib/modules/${KV_FULL}/misc" \ $(use_enable debug) \ + $(use_enable static-libs static) \ $(use_with X x) \ ${MY_OPTS} \ ABI="${KERNEL_ABI}" \ @@ -373,6 +374,8 @@ src_install() { if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example fi + + use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la" } pkg_preinst() { |