diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-02-20 22:35:03 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-02-20 22:35:03 +0100 |
commit | c4e630f70e419f5ba3e3270f0f4d694f399e6c55 (patch) | |
tree | e9779d294504f9b2cdb8dd1f2e33ebe8e4977b77 /app-misc/digitemp | |
parent | dev-vcs/guilt: Drop old (diff) | |
download | gentoo-c4e630f70e419f5ba3e3270f0f4d694f399e6c55.tar.gz gentoo-c4e630f70e419f5ba3e3270f0f4d694f399e6c55.tar.bz2 gentoo-c4e630f70e419f5ba3e3270f0f4d694f399e6c55.zip |
app-misc/digitemp: Drop old
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-misc/digitemp')
-rw-r--r-- | app-misc/digitemp/Manifest | 1 | ||||
-rw-r--r-- | app-misc/digitemp/digitemp-3.5.0-r2.ebuild | 75 |
2 files changed, 0 insertions, 76 deletions
diff --git a/app-misc/digitemp/Manifest b/app-misc/digitemp/Manifest index 9518142baff5..53e6100009d2 100644 --- a/app-misc/digitemp/Manifest +++ b/app-misc/digitemp/Manifest @@ -1,2 +1 @@ -DIST digitemp-3.5.0.tar.gz 267947 BLAKE2B bdd5cd84160d4826205ac74676897b9caa296c203fcde738c99f89baaeb7637f3995afeb7741e1d1d3e6cb64776de2479fe7d54d1b499a400cbf7b59f8d46349 SHA512 59055a97ae35cdc86bb893a755975b688d3be9185e717f5da0024d664e6c93dd5a7f10f1230772c3bc1bc76a088392da083ba63d28e054727b9f68ce31de64d3 DIST digitemp-3.7.1.tar.gz 144870 BLAKE2B 5d00197ba0122772d96c3185f430119961d214f50dc07dcd5881e1aa1135283680ff38b4d92736827f5c7644b11930b9418b8467f276e832e40f4228d08d1774 SHA512 e5eaf576b544c61049a358dece7dc96d9793b751ef08645060f3b2c1a2006e2906c3aa3f97de3dab46818290d664d2e784a948b2495b538a200b6d71b03173d2 diff --git a/app-misc/digitemp/digitemp-3.5.0-r2.ebuild b/app-misc/digitemp/digitemp-3.5.0-r2.ebuild deleted file mode 100644 index cd0f7c008a75..000000000000 --- a/app-misc/digitemp/digitemp-3.5.0-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit toolchain-funcs - -DESCRIPTION="Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol" -HOMEPAGE="https://www.digitemp.com/ https://www.ibutton.com/" -SRC_URI="https://www.digitemp.com/software/linux/${P}.tar.gz" - -IUSE="ds9097 ds9097u ds2490" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 x86" - -DEPEND="ds2490? ( virtual/libusb:0 )" - -targets() { - # default is to compile to the ds9097u. - if ! ( use ds9097 || use ds9097u || use ds2490 ); then - echo ds9097u - fi - for target in ds9097 ds9097u ds2490; do - if use ${target}; then - echo ${target} - fi - done -} - -src_prepare() { - sed -i -e "/^CFLAGS/s:-O2:${CFLAGS}:" \ - -e "/^LIBS/s:=:= ${LDFLAGS}:" Makefile - # default is to compile to the ds9097u. - if ! ( use ds9097 || use ds9097u || use ds2490 ); then - ewarn "If you don't choose a component to install, we default to ds9097u" - fi -} - -src_compile() { - local targets=$(targets) - - for target in $targets; do - emake clean - emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed" - done -} - -src_install() { - for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do - dobin digitemp_${target} && \ - dosym digitemp_${target} /usr/bin/digitemp - done - - if [[ $(targets|wc -l) -ge 1 ]]; then - echo - ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}" - ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*" - echo - fi - - dodoc README FAQ TODO - - for example in perl python rrdb; do - insinto "/usr/share/doc/${PF}/${example}_examples" - doins -r ${example}/* - done -} - -pkg_postinst() { - echo - elog "Examples of using digitemp with python, perl, and rrdtool are" - elog "located in /usr/share/doc/${PF}/" - echo -} |