aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-event
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /testing/lua-event
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'testing/lua-event')
-rw-r--r--testing/lua-event/APKBUILD81
1 files changed, 0 insertions, 81 deletions
diff --git a/testing/lua-event/APKBUILD b/testing/lua-event/APKBUILD
deleted file mode 100644
index d67c4c7312..0000000000
--- a/testing/lua-event/APKBUILD
+++ /dev/null
@@ -1,81 +0,0 @@
-# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
-# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
-
-_luaversions="5.1 5.2"
-pkgname=lua-event
-_n=${pkgname#lua-}
-pkgver=0.4.3
-pkgrel=2
-pkgdesc="Lua binding for libevent"
-url="https://github.com/harningt/luaevent"
-arch="all"
-license="MIT"
-depends=""
-depends_dev="libevent-dev"
-makedepends="$depends_dev"
-install=""
-source="${url}/archive/v${pkgver}.tar.gz"
-
-for _i in $_luaversions; do
- makedepends="$makedepends lua${_i}-dev"
- subpackages="$subpackages lua${_i}-${_n}:_split${_i/./}"
-done
-
-
-_builddir="${srcdir}/luaevent-${pkgver}"
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-
- cd "$srcdir"
- for i in $_luaversions; do
- cp -r "$_builddir" build-$i
- done
-}
-
-build() {
- cd "$_builddir"
- for i in $_luaversions; do
- cd "$srcdir"/build-$i
- make LUA_INC_DIR=/usr/include/lua$i || return 1
- done
-}
-
-package() {
- cd "$_builddir"
- for i in $_luaversions; do
- cd "$srcdir"/build-$i
- make install \
- DESTDIR="$pkgdir" \
- INSTALL_DIR_LUA=/usr/share/lua/$i \
- INSTALL_DIR_BIN=/usr/lib/lua/$i \
- || return 1
- done
-}
-
-_split() {
- local d= _ver=$1
- pkgdesc="$pkgdesc - for Lua $_ver"
- depends=
- install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
- for d in usr/lib/lua usr/share/lua; do
- if [ -d "$pkgdir"/$d/$_ver ]; then
- mkdir -p "$subpkgdir"/$d
- mv "$pkgdir"/$d/$_ver "$subpkgdir"/$d/ || return 1
- fi
- done
-}
-
-for _i in $_luaversions; do
- eval "_split${_i/./}() { _split $_i; }"
-done
-
-md5sums="3d0efc3d3751fddecedba0c25e0652df v0.4.3.tar.gz"
-sha256sums="9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5 v0.4.3.tar.gz"
-sha512sums="5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 v0.4.3.tar.gz"