Christian Wiese
14 years ago
committed by
Christian Wiese
4 changed files with 134 additions and 0 deletions
@ -0,0 +1,54 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../lua-base64/lua-base64-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 an 'install' make target and set reasonable default directories
|
||||||
|
|
||||||
|
--- base64/Makefile.orig 2010-10-21 13:16:32.650692078 +0200
|
||||||
|
+++ base64/Makefile 2010-10-21 13:44:07.890695712 +0200
|
||||||
|
@@ -1,16 +1,12 @@
|
||||||
|
# makefile for base64 library for Lua
|
||||||
|
|
||||||
|
-# change these to reflect your Lua installation
|
||||||
|
-LUA= /tmp/lhf/lua-5.1.4
|
||||||
|
-LUAINC= $(LUA)/src
|
||||||
|
-LUALIB= $(LUA)/src
|
||||||
|
-LUABIN= $(LUA)/src
|
||||||
|
-
|
||||||
|
# these will probably work if Lua has been installed globally
|
||||||
|
-#LUA= /usr/local
|
||||||
|
-#LUAINC= $(LUA)/include
|
||||||
|
-#LUALIB= $(LUA)/lib
|
||||||
|
-#LUABIN= $(LUA)/bin
|
||||||
|
+LUA= /usr/local
|
||||||
|
+LUAINC= $(LUA)/include
|
||||||
|
+LUALIB= $(LUA)/lib
|
||||||
|
+LUABIN= $(LUA)/bin
|
||||||
|
+
|
||||||
|
+LUACMOD= $(LUALIB)/lua/5.1
|
||||||
|
|
||||||
|
# probably no need to change anything below here
|
||||||
|
CC= gcc
|
||||||
|
@@ -45,6 +41,10 @@ doc:
|
||||||
|
@echo "$(MYNAME) library:"
|
||||||
|
@fgrep '/**' $(MYLIB).c | cut -f2 -d/ | tr -d '*' | sort | column
|
||||||
|
|
||||||
|
+install: all
|
||||||
|
+ mkdir -p $(LUACMOD)
|
||||||
|
+ cp -v $T $(LUACMOD)
|
||||||
|
+
|
||||||
|
# distribution
|
||||||
|
|
||||||
|
FTP= www:www/ftp/lua/5.1
|
@ -0,0 +1,32 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../lua-base64/lua-base64-make-no-test.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: Do not run 'test' make target by default
|
||||||
|
|
||||||
|
--- base64/Makefile.orig 2010-10-21 13:16:32.650692078 +0200
|
||||||
|
+++ base64/Makefile 2010-10-21 13:17:26.550696404 +0200
|
||||||
|
@@ -26,9 +26,9 @@ T= $(MYNAME).so
|
||||||
|
OBJS= $(MYLIB).o
|
||||||
|
TEST= test.lua
|
||||||
|
|
||||||
|
-all: test
|
||||||
|
+all: $T
|
||||||
|
|
||||||
|
-test: $T
|
||||||
|
+test: all
|
||||||
|
$(LUABIN)/lua $(TEST)
|
||||||
|
|
||||||
|
o: $(MYLIB).o
|
@ -0,0 +1,16 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../lua-base64/lua-base64.conf |
||||||
|
# Copyright (C) 2010 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 makeopt ' ' "LUA=$( pkgprefix -r lua )" |
||||||
|
var_insert makeinstopt ' ' "LUA=$( pkgprefix -r lua )" |
@ -0,0 +1,32 @@ |
|||||||
|
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
[COPY] |
||||||
|
[COPY] Filename: package/.../lua-base64/lua-base64.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 base64 library for Lua 5.1 |
||||||
|
|
||||||
|
[T] base64 encoding and decoding for Lua 5.1 |
||||||
|
|
||||||
|
[U] http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64 |
||||||
|
|
||||||
|
[A] Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> |
||||||
|
[M] The OpenSDE Community <list@opensde.org> |
||||||
|
|
||||||
|
[C] extra/development |
||||||
|
[F] LUA |
||||||
|
|
||||||
|
[L] PublicDomain |
||||||
|
[S] Stable |
||||||
|
[V] 5.1-20100323 |
||||||
|
[P] X -----5---9 800.000 |
||||||
|
|
||||||
|
[D] 1924396346 lua-base64-5.1-20100323.tar.gz !http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/lbase64.tar.gz |
Loading…
Reference in new issue