creffett 14/11/21 01:32:03 Modified: ChangeLog Added: digitemp-3.5.0-r2.ebuild Log: [QA] EAPI bump, revbump (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 28DB029C)
Revision Changes Path 1.22 app-misc/digitemp/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/digitemp/ChangeLog?rev=1.22&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/digitemp/ChangeLog?rev=1.22&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/digitemp/ChangeLog?r1=1.21&r2=1.22 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ChangeLog 10 Mar 2013 05:30:50 -0000 1.21 +++ ChangeLog 21 Nov 2014 01:32:03 -0000 1.22 @@ -1,6 +1,11 @@ # ChangeLog for app-misc/digitemp -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v 1.21 2013/03/10 05:30:50 kensington Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v 1.22 2014/11/21 01:32:03 creffett Exp $ + +*digitemp-3.5.0-r2 (21 Nov 2014) + + 21 Nov 2014; Chris Reffett <[email protected]> +digitemp-3.5.0-r2.ebuild: + [QA] EAPI bump, revbump 10 Mar 2013; Michael Palimaka <[email protected]> -digitemp-3.2.0.ebuild, -digitemp-3.3.2.ebuild, -digitemp-3.5.0.ebuild: 1.1 app-misc/digitemp/digitemp-3.5.0-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/digitemp/digitemp-3.5.0-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/digitemp/digitemp-3.5.0-r2.ebuild?rev=1.1&content-type=text/plain Index: digitemp-3.5.0-r2.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0-r2.ebuild,v 1.1 2014/11/21 01:32:03 creffett Exp $ EAPI=5 inherit toolchain-funcs DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol" HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/" SRC_URI="http://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 ${example}/* done } pkg_postinst() { echo elog "Examples of using digitemp with python, perl, and rrdtool are" elog "located in /usr/share/doc/${PF}/" echo }
