From 67f31e1151ad8e21eeac5c1992e18b56fa33f27a Mon Sep 17 00:00:00 2001 From: "Sven Schwyn (svoop)" Date: Tue, 30 Jun 2009 07:41:32 +0000 Subject: app-misc/heyu: Version bump for bug 91396 svn path=/sunrise/; revision=8718 --- app-misc/heyu/heyu-2.6.0.ebuild | 83 ----------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 app-misc/heyu/heyu-2.6.0.ebuild (limited to 'app-misc/heyu/heyu-2.6.0.ebuild') diff --git a/app-misc/heyu/heyu-2.6.0.ebuild b/app-misc/heyu/heyu-2.6.0.ebuild deleted file mode 100644 index a6ea970e7..000000000 --- a/app-misc/heyu/heyu-2.6.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils toolchain-funcs - -DESCRIPTION="Utility to control and program CM11A, CM17A and CM12U X10 interfaces" -HOMEPAGE="http://heyu.tanj.com" -SRC_URI="http://heyu.tanj.com/download/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="kernel_Darwin kernel_FreeBSD kernel_linux cm17a dmx210 ext0 ore rfxm rfxs" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},uucp" -} - -src_configure() { - mv x10config.sample x10.conf.sample - ./Configure \ - $(use kernel_FreeBSD && echo "freebsd") \ - $(use kernel_Darwin && echo "darwin") \ - $(use kernel_linux && echo "linux") \ - $(use cm17a || echo "-nocm17a") \ - $(use dmx210 || echo "-nodmx") \ - $(use ext0 || echo "-noext0") \ - $(use ore || echo "-noore") \ - $(use rfxm || echo "-norfxm") \ - $(use rfxs || echo "-norfxs") \ - || die "configure failed" - - sed -i -r -e "s/CC\s*=.*/CC = $(tc-getCC)/" \ - -e "s/CFLAGS\s*=.*/CFLAGS = ${CFLAGS} \$(DFLAGS)/" \ - -e 's%^(DFLAGS.+)-DSYSBASEDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DSYSBASEDIR=\\"/var/lib/heyu\\" %' \ - -e 's%^(DFLAGS.+)-DSPOOLDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DSPOOLDIR=\\"/var/lib/heyu\\" %' \ - -e 's%^(DFLAGS.+)-DLOCKDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DLOCKDIR=\\"/var/lock\\" %' Makefile \ - || die "adjusting Makefile failed" - - sed -i -r 's%(LOG_DIR.*?)NONE%\1/var/log/heyu%' x10.conf.sample || die "changing LOG_DIR failed" -} - -src_install() { - dobin heyu || die "installing binary failed" - doman heyu.1 x10{config,scripts,sched}.5 || die "installing man pages failed" - newinitd "${FILESDIR}"/heyu.init heyu || die "newinitd failed" - - insinto /etc/heyu - doins x10.*.sample || die "installing config samples failed" - - diropts -m 0750 -o heyu - dodir /var/log/heyu || die "creating log directory failed" - - dosym /etc/heyu/x10.conf /var/lib/heyu/x10.conf || die "dosym failed" - dosym /etc/heyu/x10.sched /var/lib/heyu/x10.sched || die "dosym failed" -} - -pkg_postinst() { - elog "Don't forget to tell heyu where to find your CM11 or CM17. Therefore" - elog "the file /etc/heyu/x10.conf must contain a line starting with 'TTY'" - elog "followed by the corresponding device such as:" - elog - elog "TTY /dev/ttyS0 <-- on first serial port" - elog "TTY /dev/ttyS1 <-- on second serial port" - elog "TTY /dev/ttyUSB0 <-- on USB port" - elog - elog "To use your device on a USB port, the corresponding USB serial converter" - elog "kernel module must be loaded. Older CM11 are usually delivered with a" - elog "a Prolific 2303 cable (kernel module: pl2303) while newer come with a" - elog "FTDI cable (kernel module: ftdi_sio)." - elog - elog "Execute the following command if you wish to start the HEYU daemon" - elog "at boot time:" - elog - elog "rc-update add heyu default" -} -- cgit v1.2.3-65-gdbad