diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-16 14:26:05 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-16 14:26:05 +0000 |
commit | fca96d5b8b7e6bb3f92bd3fdd24640dd748a31c9 (patch) | |
tree | de258f1fc67c9c3295b320ce69fcbe3a5d005a5d /app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild | |
parent | Respect CC, CFLAGS and LDFLAGS, Bug #243650. (diff) | |
download | gentoo-2-fca96d5b8b7e6bb3f92bd3fdd24640dd748a31c9.tar.gz gentoo-2-fca96d5b8b7e6bb3f92bd3fdd24640dd748a31c9.tar.bz2 gentoo-2-fca96d5b8b7e6bb3f92bd3fdd24640dd748a31c9.zip |
Version bumped.
(Portage version: 2.2_rc50/cvs/Linux i686)
Diffstat (limited to 'app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild')
-rw-r--r-- | app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild new file mode 100644 index 000000000000..603eda7c6845 --- /dev/null +++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/inputlircd/inputlircd-0.0.1_pre15.ebuild,v 1.1 2009/11/16 14:26:05 zzam Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*" +HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed" + + newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd + newconfd "${FILESDIR}"/inputlircd.conf inputlircd +} |