diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 20:00:58 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 20:45:21 +0100 |
commit | a780f9843d792df707ec60c3b75b75446c1f1131 (patch) | |
tree | 91f13ae4c09a6272d10e92f0584723161812f7b8 /sys-apps | |
parent | x11-wm/notion: drop old version (diff) | |
download | gentoo-a780f9843d792df707ec60c3b75b75446c1f1131.tar.gz gentoo-a780f9843d792df707ec60c3b75b75446c1f1131.tar.bz2 gentoo-a780f9843d792df707ec60c3b75b75446c1f1131.zip |
sys-apps/qcontrol: drop old version
Dropping old version, which does not support slotted lua.
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild deleted file mode 100644 index 3449c7a5c7ad..000000000000 --- a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Send commands to some microcontrollers, e.g., to change LEDs or sound a buzzer" -HOMEPAGE="http://qnap.nas-central.org/index.php/PIC_Control_Software" -SRC_URI="mirror://debian/pool/main/q/qcontrol/${P/-/_}.orig.tar.gz - mirror://debian/pool/main/q/qcontrol/${P/-/_}-6.diff.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="arm" -IUSE="" - -DEPEND=">=dev-lang/lua-5.1:0=" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - eapply "${WORKDIR}"/*.diff - eapply debian/patches/*.patch - eapply "${FILESDIR}"/${PV}-Makefile.patch - - sed -i -e "s/LDFLAGS=/LDFLAGS ?=/" Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC)" LDFLAGS="-llua -lpthread ${LDFLAGS}" qcontrol -} - -src_install() { - dosbin qcontrol - doman debian/qcontrol.1 - - insinto /etc/qcontrol - doins debian/configs/*.lua - - newconfd "${FILESDIR}"/conf.d qcontrol - newinitd "${FILESDIR}"/init.d qcontrol -} - -pkg_preinst() { - device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ - head -n1 | sed "s/^[^:]*: //") - case ${device} in - "QNAP TS-109/TS-209") - dosym qcontrol/ts209.lua /etc/qcontrol.conf ;; - "QNAP TS-119/TS-219") - dosym qcontrol/ts219.lua /etc/qcontrol.conf ;; - "QNAP TS-409") - dosym qcontrol/ts409.lua /etc/qcontrol.conf ;; - "QNAP TS-41x") - dosym qcontrol/ts41x.lua /etc/qcontrol.conf ;; - *) - ewarn "Your device is unsupported" ;; - esac -} |