diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-12-12 14:30:45 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-12-12 14:30:45 +0000 |
commit | 414d7bc16e0bd9fd882215b5a5107530f3433527 (patch) | |
tree | 341080d183f399d59051c1b652e0a8fda4815742 /testing | |
parent | 1239b4d79d72c18b8c8cee8940f9ade58a740149 (diff) | |
download | aports-414d7bc16e0bd9fd882215b5a5107530f3433527.tar.bz2 aports-414d7bc16e0bd9fd882215b5a5107530f3433527.tar.xz |
main/lua-subprocess: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-subprocess/APKBUILD | 63 | ||||
-rw-r--r-- | testing/lua-subprocess/makefile.patch | 12 | ||||
-rw-r--r-- | testing/lua-subprocess/openexception.patch | 11 |
3 files changed, 0 insertions, 86 deletions
diff --git a/testing/lua-subprocess/APKBUILD b/testing/lua-subprocess/APKBUILD deleted file mode 100644 index f72c330686..0000000000 --- a/testing/lua-subprocess/APKBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=lua-subprocess -pkgver=0.0.20121211 -pkgrel=1 -pkgdesc="A Lua module written in C that allows you to create child processes and communicate with them" -url="https://github.com/xlq/lua-subprocess" -arch="all" -license="AS-IS" -depends="" -depends_dev="" -makedepends="$depends_dev lua-dev" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz - openexception.patch - makefile.patch" -_builddir="$srcdir/$pkgname-$pkgver" -_giturl="git://github.com/xlq/lua-subprocess.git" -_upload="dev.alpinelinux.org:/archive/$pkgname/" - -snapshot() { - local _date=$(date +%Y%m%d) - local _ver=0.0.$_date - local _pkg=$pkgname-$_ver.tar.gz - mkdir -p "$srcdir" - cd "$srcdir" - msg "Creating snapshot: $_pkg" - rm -rf ${_giturl##*/} - git clone --depth=1 --bare $_giturl || return 1 - git --git-dir ${_giturl##*/} archive -o $_pkg \ - --prefix=$pkgname-$_ver/ HEAD \ - || return 1 - msg "Uploading to $_upload" - rsync -Lave ssh $_pkg $_upload || return 1 - cd "$startdir" - sed -i -e "s/^pkgver=.*/pkgver=$_ver/" \ - APKBUILD || return 1 - abuild checksum -} - -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 -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c2f13ef8e1fb83af43d61586ff611957 lua-subprocess-0.0.20121211.tar.gz -fa869a7c9a11faf77ad9fd98ba35f62a openexception.patch -cc680a0ec32e0461215ce61a44bbb540 makefile.patch" diff --git a/testing/lua-subprocess/makefile.patch b/testing/lua-subprocess/makefile.patch deleted file mode 100644 index 7567ca92ce..0000000000 --- a/testing/lua-subprocess/makefile.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ./src/lua-subprocess-20121211/Makefile -+++ ./Makefile -@@ -36,7 +36,8 @@ - - .PHONY: install - install: subprocess.so -- $(INSTALL) -m755 subprocess.so $(INSTALL_CMOD)/ -+ mkdir -p $(DESTDIR)$(INSTALL_CMOD)/ -+ $(INSTALL) -m755 subprocess.so $(DESTDIR)$(INSTALL_CMOD)/ - - .PHONY: uninstall - uninstall: diff --git a/testing/lua-subprocess/openexception.patch b/testing/lua-subprocess/openexception.patch deleted file mode 100644 index 1a36d05aad..0000000000 --- a/testing/lua-subprocess/openexception.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/lua-subprocess-0.0.20121211/subprocess.c -+++ ./subprocess.c -@@ -1130,6 +1130,8 @@ - if (r != 1){ - return r; - } -+ lua_replace(L, 1); -+ lua_settop(L, 1); - return proc_wait(L); - } - |