diff --git a/lua/lua-codegen/destdir.patch b/lua/lua-codegen/destdir.patch
new file mode 100644
index 000000000..82ce7ced8
--- /dev/null
+++ b/lua/lua-codegen/destdir.patch
@@ -0,0 +1,45 @@
+# --- SDE-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# Filename: package/.../lua-codegen/destdir.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 ---
+
+--- ./Makefile.orig	2011-06-08 16:36:56.000000000 +0200
++++ ./Makefile	2011-06-08 16:38:28.000000000 +0200
+@@ -6,19 +6,17 @@
+   REV   := 1
+ endif
+ 
+-ifndef DESTDIR
+-  DESTDIR := /usr/local
+-endif
+-LIBDIR  := $(DESTDIR)/share/lua/5.1
++prefix  = /usr/local
++LIBDIR  = $(prefix)/share/lua/5.1
+ 
+ install:
+-	mkdir -p $(LIBDIR)/CodeGen
+-	cp src/CodeGen.lua              $(LIBDIR)
+-	cp src/CodeGen/Graph.lua        $(LIBDIR)/CodeGen
++	mkdir -p $(DESTDIR)$(LIBDIR)/CodeGen
++	cp src/CodeGen.lua              $(DESTDIR)$(LIBDIR)
++	cp src/CodeGen/Graph.lua        $(DESTDIR)$(LIBDIR)/CodeGen
+ 
+ uninstall:
+-	rm -f $(LIBDIR)/CodeGen.lua
+-	rm -f $(LIBDIR)/CodeGen/Graph.lua
++	rm -f $(DESTDIR)$(LIBDIR)/CodeGen.lua
++	rm -f $(DESTDIR)$(LIBDIR)/CodeGen/Graph.lua
+ 
+ manifest_pl := \
+ use strict; \
diff --git a/lua/lua-codegen/lua-codegen.desc b/lua/lua-codegen/lua-codegen.desc
new file mode 100644
index 000000000..875e68442
--- /dev/null
+++ b/lua/lua-codegen/lua-codegen.desc
@@ -0,0 +1,39 @@
+[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY]
+[COPY] Filename: package/.../lua-codegen/lua-codegen.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 template engine for lua inspired by StringTemplate
+
+[T] lua-CodeGen is a "safe" template engine that enforces a strict
+[T] Model-View separation. Only 4 primitives are supplied:
+[T]  * attribute reference,
+[T]  * template include,
+[T]  * conditional include,
+[T]  * and template application (i.e., map operation).
+[T]
+[T] lua-CodeGen allows to split template in small chunk, and
+[T] encourages the reuse of them by inheritance.
+
+[U] http://fperrad.github.com/lua-CodeGen/
+
+[A] François Perrad <francois.perrad@gadz.org>
+[M] Alejandro Mery <amery@opensde.net>
+
+[C] extra/development
+
+[L] MIT
+[S] Stable
+[V] 0.2.1
+[P] X -?---5---9 800.000
+
+[D] 1547741812 lua-codegen-0.2.1.tar.gz https://github.com/downloads/fperrad/lua-CodeGen/