diff options
author | Igor Ulyanov <disinbox@gmail.com> | 2015-07-04 18:33:24 +0300 |
---|---|---|
committer | Igor Ulyanov <disinbox@gmail.com> | 2015-07-04 18:33:24 +0300 |
commit | 3df0d8064085afede4a98e281fd52c897ae3bb1b (patch) | |
tree | 97a691f0ab023f155bdd38987e7f568ccd799b14 /app-laptop/zenbook-als/zenbook-als-9999.ebuild | |
parent | amdgpu mesa (diff) | |
parent | osgEarth-9999 added (diff) | |
download | displacer-3df0d8064085afede4a98e281fd52c897ae3bb1b.tar.gz displacer-3df0d8064085afede4a98e281fd52c897ae3bb1b.tar.bz2 displacer-3df0d8064085afede4a98e281fd52c897ae3bb1b.zip |
Merge branch 'master' of git+ssh://anongit.gentoo.org/user/displacer
Diffstat (limited to 'app-laptop/zenbook-als/zenbook-als-9999.ebuild')
-rw-r--r-- | app-laptop/zenbook-als/zenbook-als-9999.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-laptop/zenbook-als/zenbook-als-9999.ebuild b/app-laptop/zenbook-als/zenbook-als-9999.ebuild new file mode 100644 index 0000000..4f26d1f --- /dev/null +++ b/app-laptop/zenbook-als/zenbook-als-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit qmake-utils + +if [[ "${PV}" = "9999" ]]; then + inherit git-2 + EGIT_REPO_URI="git://github.com/Displacer/Asus-Zenbook-Ambient-Light-Sensor-Controller.git" + KEYWORDS="" +else + COMMIT_ID="ba447bc47271dbf69ac4a4bad11cfadc04df69c3" + SRC_URI="https://github.com/danieleds/Asus-Zenbook-Ambient-Light-Sensor-Controller/archive/${COMMIT_ID}.tar.gz -> ${P}-git.tar.gz" + KEYWORDS="~amd64" + S=${WORKDIR}/Asus-Zenbook-Ambient-Light-Sensor-Controller-${COMMIT_ID} +fi + +DESCRIPTION="ASUS Zenbook Ambient Light Sensor Controller" +HOMEPAGE="http://github.com/victorenator/als" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND="dev-libs/libbsd" +RDEPEND="${DEPEND} + app-laptop/zenbook-als-module" + +src_configure() { + eqmake4 service/als-controller.pro +} + +src_install() { + newinitd "${FILESDIR}"/${PN}.initd als-controller + dodoc README.md + dosbin als-controller +} |