aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-11-21 09:28:11 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-11-21 09:28:11 +0200
commit2272e48b0f5268a4190806f187cb3cffd095ffe8 (patch)
tree723a0b167d2b5bfcc0c9624678a3194201944814 /testing
parent5faa024740db542d72dd9de5576efc8823fb93f3 (diff)
downloadaports-2272e48b0f5268a4190806f187cb3cffd095ffe8.tar.bz2
aports-2272e48b0f5268a4190806f187cb3cffd095ffe8.tar.xz
community/lua-cqueues-pushy: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-cqueues-pushy/APKBUILD70
-rw-r--r--testing/lua-cqueues-pushy/cqpushy.initd10
2 files changed, 0 insertions, 80 deletions
diff --git a/testing/lua-cqueues-pushy/APKBUILD b/testing/lua-cqueues-pushy/APKBUILD
deleted file mode 100644
index 1043f6bf6a..0000000000
--- a/testing/lua-cqueues-pushy/APKBUILD
+++ /dev/null
@@ -1,70 +0,0 @@
-# Maintainer: Timo Teräs <timo.teras@iki.fi>
-_luaversions="5.2 5.3"
-pkgname=lua-cqueues-pushy
-pkgver=0.20170807
-_commitid=043bee0c149eaff9efdf9a8bc771c7e6b7897021
-pkgrel=0
-pkgdesc="Framework for logic control (based on cqueues)"
-url="https://github.com/rameplayerorg/lua-cqueues-pushy"
-arch="all"
-license="GPLv2"
-install=""
-depends=""
-makedepends="linux-headers"
-subpackages=""
-for _i in $_luaversions; do
- makedepends="$makedepends lua$_i-dev"
- subpackages="$subpackages lua$_i-cqueues-pushy:split_${_i/./_}"
-done
-source="$pkgname-$pkgver.tar.gz::https://github.com/rameplayerorg/$pkgname/archive/$_commitid.tar.gz
- cqpushy.initd
- "
-
-_sdir="$srcdir"/$pkgname-$_commitid
-
-prepare() {
- local i
- cd "$_srcdir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- for _v in $_luaversions; do
- cp -r "$_sdir" "$srcdir"/build-$_v
- done
-}
-
-build() {
- for _v in $_luaversions; do
- cd "$srcdir"/build-$_v
- make LUA_VERSION=$_v
- done
-}
-
-package() {
- for _v in $_luaversions; do
- cd "$srcdir"/build-$_v
- make LUA_VERSION=$_v install DESTDIR="$pkgdir" || return 1
- done
- install -m755 -D "$srcdir"/cqpushy.initd \
- "$pkgdir"/etc/init.d/cqpushy || return 1
-}
-
-_split() {
- local _ver=$1
- pkgdesc="$pkgdesc - Lua $_ver"
- depends="lua$_ver-cqueues>=20150616 lua$_ver-struct lua$_ver-posix lua$_ver-ldbus lua$_ver-socket lua$_ver-cjson lua$_ver-penlight"
- install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
-
- mkdir -p "$subpkgdir"/usr/share/lua "$subpkgdir"/usr/lib/lua
- mv "$pkgdir"/usr/share/lua/$_ver "$subpkgdir"/usr/share/lua
- mv "$pkgdir"/usr/lib/lua/$_ver "$subpkgdir"/usr/lib/lua
-}
-
-for _i in $_luaversions; do
- eval "split_${_i/./_}() { _split $_i; }"
-done
-
-sha512sums="2be6ac7284ed230e940118f36f20ae41c137a1879eb45a44acc69a3edcf822e628bd7381a1a0747ec68c774d7e2da0c151b8e9831990bb198aff18f97e8572ee lua-cqueues-pushy-0.20170807.tar.gz
-9599db364c3a2e77a7fee61304182961cb6132ce9cb58e9b6837312f52a582e838fdb54eb932c3204b558e3db7228a0412870d0a02125d1017f3402155647bd0 cqpushy.initd"
diff --git a/testing/lua-cqueues-pushy/cqpushy.initd b/testing/lua-cqueues-pushy/cqpushy.initd
deleted file mode 100644
index 869690a246..0000000000
--- a/testing/lua-cqueues-pushy/cqpushy.initd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- after net firewall chrony dbus
-}
-
-description="lua-cqueues-pushy"
-command="/etc/cqpushy/cqpushy.lua"
-command_background="yes"
-pidfile="/var/run/cqpushy.pid"