commit: 1171d9fc0a5e2f7a5cac6f8f2d9b24342bee8f75 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Tue Apr 26 20:21:15 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Tue Apr 26 22:26:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1171d9fc
app-misc/tpconfig: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846 Package-Manager: portage-2.2.26 app-misc/tpconfig/files/tpconfig | 4 ++-- app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig index 62cb0a7..29efa6e 100644 --- a/app-misc/tpconfig/files/tpconfig +++ b/app-misc/tpconfig/files/tpconfig @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild new file mode 100644 index 0000000..df31ea4 --- /dev/null +++ b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour" +HOMEPAGE="http://www.compass.com/synaptics/" +SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +src_compile() { + econf + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin tpconfig || die "dobin failed!" + dodoc README AUTHORS NEWS INSTALL + doinitd "${FILESDIR}"/tpconfig + newconfd "${FILESDIR}"/tpconfig.conf tpconfig +}
