diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /sys-apps/qcontrol | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'sys-apps/qcontrol')
-rw-r--r-- | sys-apps/qcontrol/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild | 61 |
2 files changed, 0 insertions, 62 deletions
diff --git a/sys-apps/qcontrol/Manifest b/sys-apps/qcontrol/Manifest index bbcd67e976f8..16c733263059 100644 --- a/sys-apps/qcontrol/Manifest +++ b/sys-apps/qcontrol/Manifest @@ -3,6 +3,5 @@ AUX conf.d 133 BLAKE2B 4d77e38035348a26a1dc576cdc681ef41e10104730158e4c3f58ea40b AUX init.d 2211 BLAKE2B 5656083b4689db24bfa77b07704316123a4690e8160d355b42d6bdc359a9ace495ae52b72199e31573307b400ec6e9bea02cfd5e9e136a5faa7b3d94591b3a8c SHA512 66c6c4f30e93f759ca7a9875e23ed82843d9cc728c14c7bc7fffee3fbbafefa57244155649986c547264f500a21d0099efd1195d1810b47370c8f77ed79e4dde DIST qcontrol_0.4.2-6.diff.gz 11426 BLAKE2B 5f4374d2a6a2f79ca357827437d7ec42c6122b8f3ba008bb8c39adaf80a2edff24ed4f0abb29780ad70cac09eb1d39124d3d9762d603c896c8857ad7b8e7910e SHA512 ce450d04c72052c8e7ce0bf26d21d9942d3ea02b958b510efdf26d368ee69778eaf61bec2084c4d21cc1a5d281d1331e40b7bcaf388b4b59174a37ed037dd984 DIST qcontrol_0.4.2.orig.tar.gz 18344 BLAKE2B c90d3d31ffd624bad11e70a2c700e0e058c9fa6cc2cfa6bb803471df67d07d03a88ae134d5543dbbefe30b5870089a29151614a545dc171de5eb4732d6592461 SHA512 f132faff54833f11ae79622dc8e33b4e0f2516f7377633ff47a4ebe71335503c5e4892723c049b00888622ce059026cd97c6856b425b94163ec09887bd21e81e -EBUILD qcontrol-0.4.2-r1.ebuild 1464 BLAKE2B dd6758a5e88a759187f99cb790c2cff2db024fe9b61e9cc920080b3030397e056d61a4469e5029d03fc4b4995bea75952853cfbf7672fddff8e1490a790bb864 SHA512 fa18cf1eb376a5362b0bb75f15b8c56cbc445f8a37e15a7ebefd11967e37a12573a7bf859e03c723469c169207d432b13512f0e0279f69710cb7ff26c22843f1 EBUILD qcontrol-0.4.2-r100.ebuild 1594 BLAKE2B bcdf7251d73111c61df1dbf1804fd4574042636756d9841db881e982f8c730f1673fa274dd42585bf48d1b33a6fef27de513e43ed605e8c8c3d58852387bff42 SHA512 42ffbf7e529c0fa5c67f79343849bd8e2d18e9668a9c85bb04f9ebade4c5f312fd7e9d09a69c5b50f3d5465b0d6e711965804ecc18c492b7267ef4132716619a MISC metadata.xml 367 BLAKE2B 8a20a869201a1a69097488f15283baa6eaff5e80667974605e34470d0fbeef210efce302a5feb1b30075273c468b96cf197125d7f7dcdef93faff7b35fb34664 SHA512 ee0131a33df4a79331dfe2a7485d71b05f8f386d3b6ce0b26ab76a7c9f8d9b20efb931fda54d499feb9dd6c3feba34299cf8943fbac2ffea2076e634d49087de 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 -} |