diff --git a/lua/lua-pty/lpty-make-install.patch b/lua/lua-pty/lpty-make-install.patch new file mode 100644 index 000000000..1082237e5 --- /dev/null +++ b/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 diff --git a/lua/lua-pty/lua-pty.cache b/lua/lua-pty/lua-pty.cache new file mode 100644 index 000000000..3abaecc0f --- /dev/null +++ b/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 diff --git a/lua/lua-pty/lua-pty.desc b/lua/lua-pty/lua-pty.desc new file mode 100644 index 000000000..8b85f6f55 --- /dev/null +++ b/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 +[M] Christian Wiese + +[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/