forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/10ne1/master'
Pull request: gentoo#333
- Loading branch information
Showing
3 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST i8kutils_1.33.tar.gz 50378 SHA256 ebdd39a2be8b5742bd7b24a5dbcbef36ab3b9980330ad07eea471e68b800ecd7 SHA512 a7b9277b8c9bc2642a65122dda31cfa7cc0c4fa780ba980364c0a4e0e4599502c6557871464ff256c5911370d98944826d0e29d4d3621605d5e8c1c8a23e5578 WHIRLPOOL 162cec2b48c1573a8b49d7966db312357754bc4445a9247d6fd0ca43bfabf1ccbe155bdc19c66fcc654f1dd6ff7499e82829e62a726f602a846b01b4a0189eb2 | ||
DIST i8kutils_1.42.tar.xz 37544 SHA256 8764ee6d78e646965fbf1ba653cbfa6e05627eb9922389c132866431d7c3d802 SHA512 148e8788c50cbaa22f1dd3b72867839f5bc2d91cda70aee74f7c9a3d8542386a44652c5eb8dd9eba0e30400fc6bb72855d3cc7f2dc4284c2529b9cba2eac485b WHIRLPOOL da39e9312bf9c224dd2f6272e33361e6230421703170a8ba76965cc1b6994eab69423a824b505f6cead9c45b7288019bc0f663b925e8278b0ddb2b73061f5b36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit systemd toolchain-funcs | ||
|
||
DESCRIPTION="Dell Inspiron and Latitude utilities" | ||
HOMEPAGE="https://launchpad.net/i8kutils" | ||
SRC_URI="https://launchpad.net/i8kutils/trunk/${PV}/+download/${P/-/_}.tar.xz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="examples tk" | ||
|
||
DEPEND="tk? ( dev-lang/tk:0 )" | ||
RDEPEND="${DEPEND} | ||
sys-power/acpi" | ||
|
||
S="${WORKDIR}/${PN}" | ||
|
||
DOCS=( README.i8kutils ) | ||
|
||
src_prepare() { | ||
sed \ | ||
-e '/^CC/d' \ | ||
-e '/^CFLAGS/d' \ | ||
-e 's: -g : $(LDFLAGS) :g' \ | ||
-i Makefile || die | ||
|
||
tc-export CC | ||
} | ||
|
||
src_install() { | ||
dobin i8kctl i8kfan | ||
doman i8kctl.1 | ||
|
||
use examples && dodoc -r examples | ||
|
||
newinitd "${FILESDIR}"/i8k.init-r1 i8k | ||
|
||
if use tk; then | ||
dobin i8kmon | ||
doman i8kmon.1 | ||
dodoc i8kmon.conf | ||
systemd_dounit "${FILESDIR}"/i8kmon.service | ||
else | ||
cat >> "${ED}"/etc/conf.d/i8k <<- EOF | ||
# i8kmon disabled because the package was installed without USE=tk | ||
NOMON=1 | ||
EOF | ||
fi | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>proxy-maintainers</herd> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Default assignee for orphaned packages</name> | ||
<email>[email protected]</email> | ||
<name>Ioan-Adrian Ratiu</name> | ||
<description>Proxied maintainer. Assign bugs to him.</description> | ||
</maintainer> | ||
</pkgmetadata> |