mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-laptop/i8kutils: Drop 1.33-r1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST i8kutils_1.33.tar.gz 50378 BLAKE2B 648d5dca57a407b1239b5a8d51dbe44214140368eefa71d72ef31b0cac3c0e7af2cb0ce44eb7ee429f555ef6503025ffa7543d9d17d2c42db98b67865fac0a03 SHA512 a7b9277b8c9bc2642a65122dda31cfa7cc0c4fa780ba980364c0a4e0e4599502c6557871464ff256c5911370d98944826d0e29d4d3621605d5e8c1c8a23e5578
|
||||
DIST i8kutils_1.42.tar.xz 37544 BLAKE2B ca8ec63252f43b269ba2a5565fce275aaa6542ebe6f4824d12b194cb0ae8b09dbe354c743ad78af8bcb897e411f1739df464e6c5603d470842de4b59be753984 SHA512 148e8788c50cbaa22f1dd3b72867839f5bc2d91cda70aee74f7c9a3d8542386a44652c5eb8dd9eba0e30400fc6bb72855d3cc7f2dc4284c2529b9cba2eac485b
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Dell Inspiron and Latitude utilities"
|
||||
HOMEPAGE="http://packages.debian.org/sid/i8kutils"
|
||||
SRC_URI="mirror://debian/pool/main/i/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="examples tk"
|
||||
|
||||
DEPEND="tk? ( dev-lang/tk )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
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 i8kbuttons i8kctl
|
||||
doman i8kbuttons.1 i8kctl.1
|
||||
dosym /usr/bin/i8kctl /usr/bin/i8kfan
|
||||
|
||||
use examples && dodoc -r examples
|
||||
|
||||
newinitd "${FILESDIR}"/i8k.init-r1 i8k
|
||||
newconfd "${FILESDIR}"/i8k.conf 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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user