Browse Source

lua-pty: Added lua-pty 0.9-1 - A simple interface to start programs and control them via a pty for Lua

user/chris/test/early-mdev
Christian Wiese 14 years ago committed by Christian Wiese
parent
commit
2dfc1d90ab
  1. 39
      lua/lua-pty/lpty-make-install.patch
  2. 23
      lua/lua-pty/lua-pty.cache
  3. 34
      lua/lua-pty/lua-pty.desc

39
lua/lua-pty/lpty-make-install.patch

@ -0,0 +1,39 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lua-pty/lpty-make-install.patch
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Description: Add make (un)install target and use pkg-config to find module dir
--- ./Makefile.orig 2010-12-01 11:09:02.134696284 +0100
+++ ./Makefile 2010-12-01 11:23:01.934696285 +0100
@@ -5,6 +5,8 @@
LIBDIRS=-L/usr/local/lib
LDFLAGS=-shared
+INSTALL_CMOD=$(shell pkg-config --variable=INSTALL_CMOD lua)
+
all: lpty.so
lpty.so: lpty.o
@@ -21,3 +23,9 @@
rm -f $dir/.DS_Store; \
rm -f $dir/._*; \
done
+
+install: all
+ install -m 755 lpty.so $(INSTALL_CMOD)
+
+uninstall:
+ rm -vf $(INSTALL_CMOD)/lpty.so

23
lua/lua-pty/lua-pty.cache

@ -0,0 +1,23 @@
[TIMESTAMP] 1291199360 Wed Dec 1 11:29:20 2010
[BUILDTIME] 0 (5)
[SIZE] 0.02 MB, 7 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] fhs
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] make
[DEP] patch
[DEP] pkgconfig
[DEP] runit
[DEP] sed
[DEP] sysfiles
[DEP] tar

34
lua/lua-pty/lua-pty.desc

@ -0,0 +1,34 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lua-pty/lua-pty.desc
[COPY] Copyright (C) 2010 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A simple interface to start programs and control them via a pty for Lua
[T] lpty is a module that allows a program written in lua to open the master
[T] side of a PTY and start a program with the slave side of the PTY as its
[T] controlling terminal. The PTY may then be read from and written to, thus
[T] controlling the remote program.
[U] http://www.tset.de/lpty/
[A] Gunnar Zöt <gz@tset.de>
[M] Christian Wiese <chris@opensde.org>
[C] extra/development
[L] MIT
[S] Stable
[V] 0.9-1
[P] X -----5---9 800.000
[D] 3604323691 lpty-0.9-1.tar.gz http://www.tset.de/downloads/
Loading…
Cancel
Save