diff --git a/lua/luacurl/luacurl.conf b/lua/luacurl/luacurl.conf new file mode 100644 index 000000000..e67a7d4e3 --- /dev/null +++ b/lua/luacurl/luacurl.conf @@ -0,0 +1,28 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../luacurl/luacurl.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 --- + +runcmake=0 + +# the included cmake stuff seems broken, thus we are building it by hand +pkg_luacurl_custmain() { + local LUACFLAGS=$( pkg-config --cflags-only-I lua ) + local LUALIBS=$( pkg-config --libs lua ) + local CURLCFLAGS=$( pkg-config --cflags-only-I libcurl ) + local CURLLIBS=$( pkg-config --libs libcurl ) + + eval $CC -shared $LUACFLAGS $CURLCFLAGS luacurl.c -o luacurl.so $LUALIBS $CURLLIBS + cp -avf luacurl.so $root$lualibdir +} + +custmain='pkg_luacurl_custmain' diff --git a/lua/luacurl/luacurl.desc b/lua/luacurl/luacurl.desc new file mode 100644 index 000000000..94542e8fc --- /dev/null +++ b/lua/luacurl/luacurl.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/.../luacurl/luacurl.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 lua language binding adopting the easy interface of libcurl + +[T] LuaCURL is Lua 5.x compatible module providing Internet browsing +[T] capabilities based on the CURL library. The module interface follows +[T] strictly the CURl architecture and is very easy to use if the programmer +[T] has already experience with CURL. + +[U] http://luacurl.luaforge.net/ + +[A] Alexander Marinov +[M] The OpenSDE Community + +[C] extra/development + +[F] LUA + +[L] MIT +[S] Stable +[V] 1.2.1 +[P] X -----5---9 800.000 + +[D] 2617312122 luacurl-1.2.1.zip http://files.luaforge.net/releases/luacurl/luacurl/luacurl-1.2.1/