From: Austin English Date: Tue, 26 Apr 2016 20:21:15 +0000 (-0500) Subject: app-misc/tpconfig: use #!/sbin/openrc-run instead of #!/sbin/runscript X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1171d9fc0a5e2f7a5cac6f8f2d9b24342bee8f75;p=gentoo.git 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 --- diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig index 62cb0a7e5a8f..29efa6ebae4b 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 000000000000..df31ea43a066 --- /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 +}