# --- 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 -fPIC $LUACFLAGS $CURLCFLAGS luacurl.c -o luacurl.so $LUALIBS $CURLLIBS cp -avf luacurl.so $root$lualibdir } custmain='pkg_luacurl_custmain'