diff --git a/lua/lua-lanes/lua-lanes-2.0.10-destdir-prefix.patch b/lua/lua-lanes/lua-lanes-2.0.10-destdir-prefix.patch new file mode 100644 index 000000000..81c2d218c --- /dev/null +++ b/lua/lua-lanes/lua-lanes-2.0.10-destdir-prefix.patch @@ -0,0 +1,43 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lua-lanes/lua-lanes-2.0.10-destdir-prefix.patch +# Copyright (C) 2011 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 --- + +--- lanes-2.0.10/Makefile.orig 2011-03-11 15:48:00.926696388 +0100 ++++ lanes-2.0.10/Makefile 2011-03-11 15:52:34.530696290 +0100 +@@ -177,17 +177,18 @@ + # + # LUA_LIBDIR and LUA_SHAREDIR are used by the .rockspec (don't change the names!) + # +-DESTDIR=/usr/local +-LUA_LIBDIR=$(DESTDIR)/lib/lua/5.1 +-LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1 ++DESTDIR= ++PREFIX=/usr/local ++LUA_LIBDIR=$(PREFIX)/lib/lua/5.1 ++LUA_SHAREDIR=$(PREFIX)/share/lua/5.1 + + # + # AKa 17-Oct: changed to use 'install -m 644' and 'cp -p' + # + install: $(_TARGET_SO) src/lanes.lua +- mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR) +- install -m 644 $(_TARGET_SO) $(LUA_LIBDIR) +- cp -p src/lanes.lua $(LUA_SHAREDIR) ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR) $(DESTDIR)$(LUA_SHAREDIR) ++ install -m 644 $(_TARGET_SO) $(DESTDIR)$(LUA_LIBDIR) ++ cp -p src/lanes.lua $(DESTDIR)$(LUA_SHAREDIR) + + + #--- Packaging --- diff --git a/lua/lua-lanes/lua-lanes.cache b/lua/lua-lanes/lua-lanes.cache new file mode 100644 index 000000000..0a7e93cba --- /dev/null +++ b/lua/lua-lanes/lua-lanes.cache @@ -0,0 +1,25 @@ + +[TIMESTAMP] 1301952653 Mon Apr 4 23:30:53 2011 +[BUILDTIME] 0 (5) +[SIZE] 0.22 MB, 8 files + +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] lua +[DEP] make +[DEP] patch +[DEP] pkgconfig +[DEP] runit +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] util-linux-ng diff --git a/lua/lua-lanes/lua-lanes.conf b/lua/lua-lanes/lua-lanes.conf new file mode 100644 index 000000000..2079b9cf5 --- /dev/null +++ b/lua/lua-lanes/lua-lanes.conf @@ -0,0 +1,16 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lua-lanes/lua-lanes.conf +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +var_append makeinstopt ' ' "LUA_LIBDIR=$lualibdir" +var_append makeinstopt ' ' "LUA_SHAREDIR=$luadatadir" diff --git a/lua/lua-lanes/lua-lanes.desc b/lua/lua-lanes/lua-lanes.desc new file mode 100644 index 000000000..556929e79 --- /dev/null +++ b/lua/lua-lanes/lua-lanes.desc @@ -0,0 +1,36 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lua-lanes/lua-lanes.desc +[COPY] Copyright (C) 2011 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 multithreading extension library for Lua + +[T] Lua Lanes is a Lua extension library providing the possibility to run +[T] multiple Lua states in parallel, thus providing a solution for running +[T] Lua multithreaded. + +[U] http://luaforge.net/projects/lanes/ +[U] http://kotisivu.dnainternet.net/askok/bin/lanes/ + +[A] Asko Kauppi +[M] Christian Wiese + +[C] extra/development + +[F] LUA + +[L] MIT +[S] Beta +[V] 2.0.10 +[P] X -----5---9 800.000 + +[D] 0 lanes-2.0.10.tgz http://luaforge.net/frs/download.php/4775/